Thank you @Chris White! I'm reading about it, I think the documentation is clear.
However, I don't see how to set a fixed value for scheduled_start_time. My use case is the following:
⢠I want to implement a flow whose execution depends on the current scheduled date. I get that value from
prefect.context.get_run_context().start_date
⢠For testing purposes, I want to run my flow but setting the start_date to, for example, 2011-01-01.
In prefect 1.0 there was a context that allowed to set the context variables to specific values just for testing purposes. Sorry if I missed it from the documentation, but I don't see it!
Thank you again!
c
Chris White
04/07/2023, 7:41 PM
Oh I see - we don't currently expose a way to mock values for
runtime
but I think it's a good enhancement request - would you mind opening an issue for it?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.