https://prefect.io logo
a

Alfie

08/17/2020, 5:28 AM
Hello guys, I’d like to log some info in state handlers, such as flow version, flow run id, is that possible? How can I get them? thanks
c

Chris White

08/17/2020, 5:34 AM
Hey Alfie - yea definitely; all of that information is available in prefect.context: https://docs.prefect.io/api/latest/utilities/context.html
a

Alfie

08/17/2020, 5:36 AM
cool, thanks!
👍 1