How do I get the flow run id from context? (not th...
# ask-community
j
How do I get the flow run id from context? (not the flow id) (prefect 2)
1
k
prefect.context['flow_run_id']
works for prefect 1
j
Sorry I should have specified the version. I need for prefect 2 but thank you!
z
get_run_context().flow_run.id
j
Thank you!