Join Slack
Powered by
How do I get the flow run id from context? (not th...
# ask-community
j
Jehan Abduljabbar
03/02/2023, 5:42 PM
How do I get the flow run id from context? (not the flow id) (prefect 2)
✅ 1
k
Kyle McChesney
03/02/2023, 5:43 PM
prefect.context['flow_run_id']
works for prefect 1
j
Jehan Abduljabbar
03/02/2023, 5:44 PM
Sorry I should have specified the version. I need for prefect 2 but thank you!
z
Zanie
03/02/2023, 5:55 PM
get_run_context().flow_run.id
j
Jehan Abduljabbar
03/02/2023, 6:04 PM
Thank you!
Open in Slack
Previous
Next