James Watt
08/20/2019, 3:03 AMJeremiah
flow.run() in Core, we’re running a “lite” in-process scheduler, but it doesn’t have access to all the details of the scheduled states. Therefore context fields like scheduled_start_time fall back to their default values (now()).Jeremiah
scheduled_start_time sounds like it might not be what you’re interested in. scheduled_start_time tells you what time the current run was supposed to start (for example, if it was scheduled for 9:00am, but actually starts at 90001, scheduled_start_time=9:00 but start_time=9:00:01). Sounds like you’re looking for information about the next (future) run?Jeremiah
[state for state in run_states if state.is_scheduled() ]). Scheduled states have a start_time attribute that tells you when they are eligible to run againJames Watt
08/20/2019, 3:51 AM