Channels
pacc-may-31-2023
prefect-ai
pacc-clearcover-june-12-2023
marvin-in-the-wild
data-ecosystem
geo-israel
pacc-june-14-2023
geo-japan
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
prefect-community
data-tricks-and-tips
prefect-aws
prefect-gcp
introductions
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-server
prefect-ui
prefect-kubernetes
Powered by
Title
g
Ghassan Hallaq
02/16/2023, 9:13 AM
Hi, I am trying to run another flow(using run_deployment), is there is a way to track the status of it, I am not finding that in the documentation:
https://docs.prefect.io/api-ref/prefect/deployments/#prefect.deployments.run_deployment
r
redsquare
02/16/2023, 9:19 AM
If you set the timeout to 0 it will return and you can use the flow run id to check the state
api_client.read_flow_run(flow_run_id)
https://docs.prefect.io/api-ref/orion/api/flow_runs/#prefect.orion.api.flow_runs.read_flow_run
g
Ghassan Hallaq
02/16/2023, 2:59 PM
Thanks for your answer, is there is an example for using that method.
r
redsquare
02/16/2023, 3:01 PM
https://prefect-community.slack.com/archives/CL09KU1K7/p1675973663472939?thread_ts=1675973176.819379&cid=CL09KU1K7
#prefect-community
Join Slack