dear Prefect team, I am using prefect v1 on the cl...
# prefect-ui
m
dear Prefect team, I am using prefect v1 on the cloud. When I push a flow that build with docker and KubernetesRun through ci/cd, the schedule mode of this flow is automatically turned on, while I want it to stay off. How to avoid that ?
1
n
Hi @Murmuration Dev - when you call
flow.register
, you can pass
set_schedule_active=False
to avoid this behavior:
Copy code
with Flow("my flow") as flow:
  ...


flow.register(set_schedule_active=False)
👍 1
m
thank you very much, it works :-)
🎉 2