https://prefect.io logo
Title
h

Haotian Li

02/22/2023, 7:12 AM
What's the best practice for creating a flow run of a deployment in the cloud from a local python script without waiting for it to finish?
1
r

redsquare

02/22/2023, 7:24 AM
you can create a flow run by run_deployment and set the timeout to 0 so that it returns immediately https://docs.prefect.io/api-ref/prefect/deployments/#prefect.deployments.run_deployment
1
h

Haotian Li

02/22/2023, 7:39 AM
Thanks!
👍 1