Hi, is it possible to add dependency for a subflow...
# prefect-community
t
Hi, is it possible to add dependency for a subflow, so it will wait for a task to complete? Similar like wait_for when using a task.
a
subflows are blocking by default, so subflow B won't start until subflow A finishes (without wait_for) wait_for currently exists on subflows for tasks, but not for subflows because flow doesn't have .submit - we have open issue here https://github.com/PrefectHQ/prefect/issues/6689
t
Hmm, so currently I can't define dependencies properly if I have tasks and subflows in a flow?
a