Hi everyone! I’m trying to figure out what’s the new way of deploying a flow in Prefect 2.19.7 because prefect.deployments.Deployment has been deprecated. So far I was doing
The python code in prefect package suggests flow.deploy and Marvin suggests flow.serve. The problem is that none of these 2 methods has the parameters like path, storage, infrastructure. Can anyone put some light on this?
Giacomo Chiarella
07/02/2024, 12:52 PM
I believe I do not want flow.serve as I understood it would wait and stop the execution of the deployment script. Still flow.deploy does not have some parameters. How should I provide infrastructure, storage and path?
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.