Hi, do I need to specify the entrypoint function when I use flow.from_source? Can I just specify the path like it was with the Deployment class?
Moreover, I’m getting
ValueError: Flow run UUID('0818ce8e-aa42-4a8d-949a-baeab37698aa') was created from deployment <> which is configured with a storage block. Please use an agent to execute this flow run.
how then I should migrate from agent to worker if agents are deprecated?
n
Nate
07/02/2024, 3:10 PM
hi @Giacomo Chiarella - you can check this out , which should apply to prefect 2.19.x as well
g
Giacomo Chiarella
07/02/2024, 3:12 PM
Hi @Nate, thank you for your help. Can I first upgrade from agent to worker using the old Deployment class to deploy and after switch to the new deployment code?
Giacomo Chiarella
07/02/2024, 3:13 PM
I’m at 2.16.0 currently which should not have the new deployment code flow.deploy
Giacomo Chiarella
07/02/2024, 3:15 PM
if the agent is deprecated since 2.16.0 of course (I may have confused, maybe the agent is deprecated since 2.19.0)
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.