Giacomo Chiarella
06/20/2024, 5:26 PMd.schedules = [DeploymentScheduleCreate(schedule=CronSchedule(cron=schedule, timezone="UTC"), active=True)]
where d is the result of Deployment.build_from_flow
without passing any schedule. I’m not using is_schedule_active
attribute. Is it normal I get
Interpreting the deprecated `schedule` field as an entry in `schedules`.
The field 'schedule' in 'Deployment' has been deprecated. It will not be available after Sep 2024. Define schedules in the `schedules` list instead.
The field 'is_schedule_active' in 'Deployment' has been deprecated. It will not be available after Sep 2024. Use the `active` flag within a schedule in the `schedules` list instead and the `pause` flag in 'Deployment' to pause all schedules.
is it normal I keep getting these warnings?
The aim of the question is not to turn off the warnings. I want to solve the issue.