CM
06/11/2021, 8:29 PMKevin Kho
Kevin Kho
--force
option. I think this might be related to this issueCM
06/11/2021, 8:33 PMCM
06/11/2021, 8:36 PMCM
06/11/2021, 8:36 PMCM
06/11/2021, 8:37 PMKevin Kho
flow.serialize()
, you’ll find the executor is not there. This is because executor and results can contain sensitive information so we don’t keep them in the flow schema.Kevin Kho
Kevin Kho
idempotency_key
here to force the registration. You can see this in the register
method here: https://docs.prefect.io/api/latest/core/flow.html#flow-2CM
06/11/2021, 8:42 PMKevin Kho
CM
06/11/2021, 8:43 PMKevin Kho
prefect register flow
command have a force
option on that version?CM
06/11/2021, 8:52 PMCM
06/11/2021, 8:53 PMCM
06/11/2021, 8:55 PMKevin Kho
CM
06/11/2021, 8:58 PMKevin Kho
flow.register()
and then python myflow.py
to register, I get the version bumped.CM
06/11/2021, 9:01 PMCM
06/11/2021, 9:02 PMCM
06/11/2021, 9:03 PMKevin Kho
--force
version in the future. If you can’t, I would honestly try altering the Flow a little bit, maybe adding a log statement somewhere to force the metadata to change and I think that would force the re-registration.Kevin Kho
CM
06/11/2021, 9:05 PMKevin Kho
python myflow.py
does take effect. I changed from LocalDaskExecutor to LocalExecutor. You can run the flow with DEBUG logs to see the executor type.CM
06/11/2021, 9:13 PMKevin Kho
CM
06/11/2021, 9:32 PMKevin Kho
CM
06/11/2021, 9:40 PMKevin Kho
query {
flow_run(where: { id: {_eq: "160d2a2b-58e1-442a-818d-2855f283ac6d"} }) {
id
flow_id
flow {
name
version
}
}
}
Kevin Kho
CM
06/11/2021, 9:43 PM