Michael Natkin
12/11/2024, 1:07 AMserve(<http://flow.to|flow.to>_deployment())
Michael Natkin
12/11/2024, 1:08 AMAlexander Azzam
12/11/2024, 2:28 AMNate
12/11/2024, 2:59 AMprefect deploy
or otherwise creates / updates deployments with an active schedule?Michael Natkin
12/11/2024, 3:30 AMMichael Natkin
12/11/2024, 4:50 AMMichael Natkin
12/11/2024, 4:53 AMserve(
echo_flow.to_deployment(name="echo_flow", work_pool_name="ringmaster-pool-3"),
run_weekly_ringmaster.to_deployment(name="ringmaster-mon-thu", work_pool_name="ringmaster-pool-3", schedules=[CronSchedule(cron="0 17 * * 1-4", timezone="America/Los_Angeles")], parameters={"test_send": False, "short": True}),
run_weekly_ringmaster.to_deployment(name="ringmaster-fri", work_pool_name="ringmaster-pool-3", schedules=[CronSchedule(cron="0 17 * * 5", timezone="America/Los_Angeles")], parameters={"test_send": False, "short": False}),
run_single_call_ringmaster.to_deployment(name="ringmaster-single", work_pool_name="ringmaster-pool-3")
)
Michael Natkin
12/11/2024, 4:54 AMDylan
Michael Natkin
12/12/2024, 12:54 AM