Join Slack
Powered by
Hi, I was trying to find out in the Prefect 2.0 do...
# ask-community
g
Giorgio Basile
09/19/2022, 12:43 PM
Hi, I was trying to find out in the Prefect 2.0 docs the equivalent of Prefect 1.0's
context
, as I would like to get the scheduled start time of the flow run inside the flow itself (or one of its tasks). Is it possible to do it? Thanks!
✅ 1
s
Stéphan Taljaard
09/19/2022, 1:04 PM
Hi Have a look here
https://docs.prefect.io/api-ref/prefect/context/#prefect.context.RunContext
🚀 2
👍 2
g
Giorgio Basile
09/19/2022, 1:44 PM
This is exactly what I needed, thanks! 🙂
🚀 2
Open in Slack
Previous
Next