Erik Amundson
from prefect.client.schemas import schedules from prefect.client.schemas.schedules import DateTimeTZ pst = "America/Los_Angeles" daily_midnight_offset_30 = schedules.IntervalSchedule( anchor_date=DateTimeTZ(year=2020, month=1, day=1, hour=0, minute=30), timezone=pst, interval=timedelta(hours=24) )
Deployment.build_from_flow( # type: ignore name=name, flow=fn, schedule=daily_midnight_offset_30, work_pool_name="xx", work_queue_name="default", version=version, infrastructure=<infra block>, parameters={}, tags=[], is_schedule_active=True, apply=True, )
Jake Kaplan
schedule = IntervalSchedule( anchor_date=datetime(year=2020, month=1, day=1, hour=0, minute=30, tz="America/Los_Angeles")
17:30 Pacific
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.