Hey all! New to the slack, glad to be here!
I am a project manager and am trying to get a sense of how difficult (time and resource intensive) it is to migrate from Prefect v1 to v2?
TIA
👋 2
n
Nate
05/31/2023, 3:36 PM
hi @Jared Rhodes - welcome!
I would say it depends on how sophisticated and custom your prefect 1 setup was.
There have been some significant conceptual changes, for example Deployments are now what we called a "registered Flow" in Prefect 1, and there are some new ideas like Projects (for declaratively defining shared deployment config) and Work Pools (from which workers, i.e. next-gen agents, pull deployment flow runs) and Blocks.
but your task definitions should be pretty easy to migrate the syntax for, and prefect 2 flows are simply a decorated function instead of a
with Flow() as flow:
context manager
so tldr: syntax migration is easy, recreating deployments is more involved
🙌 1
Nate
05/31/2023, 3:37 PM
feel free to describe your Prefect 1 setup and perhaps I can give more precise recommendations on what to check out!
here's the migration guide
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.