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
nicholas
03/01/2023, 2:58 PM
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)