Leo Meyerovich (Graphistry)
10/10/2020, 10:15 PMChris White
Leo Meyerovich (Graphistry)
10/11/2020, 6:19 AMChris White
scheduled_start_time
+ what clock generated it be sufficient? That is the specific tick of the clock, and along with a parameter you could know both what clock and what tick it came from.Leo Meyerovich (Graphistry)
10/12/2020, 4:47 PMclock1 = clocks.IntervalClock(start_date=now,
interval=datetime.timedelta(minutes=1),
parameter_defaults={"p": "CLOCK 1"})
while the docs show how to read CLOCK 1
, the task needs to see span 10:00 - 10:01
Chris White
clock1 = clocks.IntervalClock(start_date=now,
interval=datetime.timedelta(minutes=1),
parameter_defaults={"date-range": "json-representation-of-time-span"})
...
etc. with however many clocks you need, configured for what you’re actually trying to accomplishscheduled_start_time
from Prefect context which adds another layer of informationLeo Meyerovich (Graphistry)
10/12/2020, 5:02 PMChris White
Leo Meyerovich (Graphistry)
10/12/2020, 5:06 PMChris White
Leo Meyerovich (Graphistry)
10/12/2020, 5:09 PM