https://prefect.io logo
Title
b

Bradley McLaughlin

11/02/2022, 10:02 PM
In Prefect 2.0, is there a pattern to replicate the subflow orchestration in the same way as 1.0? Instead of the subflows running in the same process asynchronously using asyncio.gather, I need the flow runs to be created with create_flow_run() (this part works) but then I need to wait for the subflow runs to complete in the parent flow. How can I make the parent flow wait for subflows running in different processes?
k

Kalise Richmond

11/02/2022, 10:17 PM
b

Bradley McLaughlin

11/02/2022, 10:41 PM
Thanks! This worked