be updating the version of the Flow? I have changed the code and ran
register
again, multiple changes and multiple registers, but the VERSION is still
1
in
prefect get flows
Dan Stoner
09/01/2021, 10:57 PM
hmmm.. if I add the force flag
-f
I do get a version 2. But why would I need the force flag?
z
Zach Angell
09/01/2021, 10:58 PM
Hey @Dan Stoner, Prefect only updates the flow version if the flow metadata has changed (because that's all Prefect knows about).
If you change, for example, some code in a
task
, Prefect doesn't know about it and therefore won't update the flow version
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.