In the ui under edit deployment there is a toggle ...
# prefect-ui
r
In the ui under edit deployment there is a toggle to turn off scheduler for a deployment or flow. How can I set that toggle in the python api or in the cli? The goal is to turn it off if we are on a dev cicd pipeline but leave it on if on prod. This will circumvent the dev flows from hitting resources at the same time prod.