Hello! Can anyone tell me how to get 'task_run_id'...
# ask-community
м
Hello! Can anyone tell me how to get 'task_run_id' in Prefect 2.0? In version 1.0, we got it like this:
prefect.context.get('task_run_id')
r
Check out the
prefect.runtime
submodules.
м
thx