Mohan kancherla
07/26/2023, 3:56 PMDeceivious
07/26/2023, 4:13 PMNate
07/26/2023, 4:46 PMRun a Deployment
when you see a prefect.flow-run.Completed
event that has your Deployment A
as a related resource
⢠you can have a parent flow that orchestrates the deployments
from prefect.deployments import run_deployment
@flow
def parent():
A = run_deployment("flow-a/deployment-a")
if A.state.is_completed():
B = run_deployment("flow-b/deployment-b")
Mohan kancherla
07/26/2023, 4:52 PMNate
07/26/2023, 5:10 PMparameters
to run_deployment
, which should be a dictionary of the parameters that the flow run accepts (must be JSON serializable!)Mohan kancherla
07/26/2023, 5:57 PMDeceivious
07/27/2023, 8:19 AMin the scheduled time
was that they were not late š