Ramzi A
12/29/2021, 2:35 AMRamzi A
12/29/2021, 2:35 AMKevin Kho
with Flow(..) as flow:
...
flow.register("A")
flow.register("B")
Ramzi A
12/29/2021, 2:38 AMKevin Kho
Ramzi A
12/29/2021, 2:43 AMKevin Kho
prefect register someflow.py
from the CLI, it checks for changes and if there are none, it will not register. It does this check here. So basically it creates an idempotency key which is a serialized version of the Flow. If the flow changes, this hash will change. Otherwise the hash will remain the same and the flow won’t register. I would try adding this as your idempotency key.Ramzi A
12/29/2021, 2:47 AMKevin Kho
Kevin Kho
--force
flag which registers without the idempotency key to force the registration