Hello community, I have prefect prefect in a docker over a linux VM. is it really necesary or better to move to prefect 2.0 I already have around 20 scripts that are loaded in v0.15.3. If so what is the best way to upgrade to v2 or v1?
05/11/2022, 4:58 PM
It's not necessary, but long-term it's better to use Prefect 2.0 - we started compiling migration content here
05/11/2022, 4:59 PM
ok, thank you very much, and way it passed from 1.0 to 2.0?
05/11/2022, 5:13 PM
what do you mean?
Prefect 2.0 is a completely new product so it's not just a matter of upgrading a component, it requires some real migration e.g. you need to use a flow decorator instead of
with Flow("name") as flow:
05/12/2022, 8:25 AM
So it will be necessary to update docker instances and migrate all of the scripts. and I have to forget about v1, isn't it?
I mean pass directly to v2
05/12/2022, 9:29 AM
you don't have to, no pressure here 😄 but if you want to migrate, then yes it will require completely different components e.g. Apollo and Hasura are no longer necessary
05/12/2022, 9:37 AM
Ok, for now we'll continue and we'll see how it goes to migrate in the near future.