Olivér Atanaszov
05/23/2022, 11:19 AMemre
05/23/2022, 11:29 AMget_connection
, which maintains a singleton connection (only creates a connection if it hasn't already created one before, otherwise returns the created one). This avoids passing the connection around as a task input, instead you call get_connection()
within your task.run