Matthew Blau
02/08/2021, 10:54 PMKyle Moon-Wright
02/08/2021, 11:12 PMStartFlowRun
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 run_config
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 Wee
02/08/2021, 11:13 PMResourceManager
?
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 Blau
02/09/2021, 1:57 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by