Hey guys! Is there a way for the Task to know the ...
# prefect-server
p
Hey guys! Is there a way for the Task to know the
flow_run_id
during runtime? I will run this flow many times and for run I’d like to save the
flow_run_id
associated with it along with other metadata.
k
Hey @Pedro Martins, inside a task, do
prefect.context.get("flow_run_id")
p
awesome @Kevin Kho! Thank you.