Matthew Blau02/08/2021, 10:54 PM
Kyle Moon-Wright02/08/2021, 11:12 PM
task is an API call to your backend services to create a new flow run, which is encapsulated to its own Flow Run. Most users get around this by passing these types of tasks in a base image of a
to be used across flows with a shared set of tasks, but these shared tasks are still imported into singular flows. However, I’m sure there are other ways around this that others can share to meet your use case!
Amanda Wee02/08/2021, 11:13 PM
? https://docs.prefect.io/core/idioms/resource-manager.html For my team, we didn't know about it and used state handlers to setup the database connection(s) when the flow enters running state, then close the connection(s) when it enters finished state, so I know that works too, even if it isn't a prefect idiom.
Matthew Blau02/09/2021, 1:57 PM