Im starting now on 3.0 but now build_from_flow is missing:
Copy code
prefect.exceptions.PrefectImportError: `prefect.deployments:Deployment` has been removed. Use `flow.serve()`, `flow.deploy()`, or `prefect deploy` instead.
Docs mention this args but it is unclear with no examples.
Does someone know how to pass entrypoint & path when creating deployment from a flow?
j
Jeff Hale
09/25/2024, 2:23 PM
Hi Nikolay. Check out the Quickstart for an example of using
.deploy
to create a deployment with an entrypoint.
See more discussion about flow code storage here.
n
Nate
09/25/2024, 4:33 PM
this section of the docs specifically address moving from
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.