nicholasnet
05/25/2023, 9:45 PMdef child_flow_c():
d = run_deployment("child-flow-d/dep-child-d")
# How can I be sure that run_deployment("child-flow-d/dep-child-d") is completed before moving to next line/deployment
e = run_deployment("child-flow-d/dep-child-d")
How we check the status of run_deployment
is completed before executing another run_deployment
Serina
05/25/2023, 11:28 PMThis function will return when the created flow run enters any terminal state or the timeout is reached.
https://docs.prefect.io/latest/api-ref/prefect/deployments/#prefect.deployments.run_deploymentnicholasnet
05/25/2023, 11:51 PMsjammula
07/25/2023, 2:27 PM