https://prefect.io logo
Title
m

Madison Schott

05/19/2022, 8:02 PM
Can you set task dependencies across flows? 🧐 We have some models that depend on prod models in our main flow but it would be nice to separate them into their own pipeline- however I don't want an unrelated task failure to prevent the dependent pipeline from running, so it would be better to set it on a task level
k

Kevin Kho

05/19/2022, 8:08 PM
If you mean by using the
.set_upstream()
or
.set_downstream()
semantics, not really because there is no way to reference. It should be controlled by the main flow I think, but you don’t have granularity in the subflow tasks other than
wait_for_flow_run
or
get_task_run_result