Hi there,
I am following the microsoft learn tutorials, and one of them had us publish a pipeline with a schedule.
recurrence = ScheduleRecurrence(frequency="Week", interval=1, week_days=["Monday"], time_of_day="00:00")
weekly_schedule = Schedule.create(ws, name="weekly-diabetes-training",
description="Based on time",
pipeline_id=published_pipeline.id,
experiment_name='mslearn-diabetes-pipeline',
recurrence=recurrence)
Now I'd like to delete that pipeline, but when I try to delete it in the Pipelines > Pipeline Endpoints section, I get an error saying that a pipeline with a schedule cannot be disabled.
There is no code provided to remove or delete the schedule. Can anyone provide the python code necessary to remove the schedule from the pipeline so I can delete it?
Thank you kindly,