Join Slack
Powered by
how does one run a deployment in python? I have fo...
# ask-community
n
Nathaniel Russell
09/12/2022, 6:42 PM
how does one run a deployment in python? I have found only how to make a deployment or run a flow separate from a deployment.
✅ 1
s
Serina
09/12/2022, 6:45 PM
Hi Nathaniel, assuming you’re speaking of Prefect 2, you can check this Discourse
https://discourse.prefect.io/t/prefect-2-1-0-has-just-arrived-it-includes-python-based-[…]-to-work-queues-tons-of-new-integrations-and-features/1422
or the prefect-recipes repo for an example 🙂
https://github.com/PrefectHQ/prefect-recipes/blob/main/flows-advanced/etl/export-airbyte-config-and-write-to-s3-bucket-using-blocks.py#L110
n
Nathaniel Russell
09/12/2022, 6:46 PM
so that is how you build a deployment but how do you run the flow inside the deployment?
s
Serina
09/12/2022, 6:50 PM
Hi Nathaniel, are you looking for something like this?
https://discourse.prefect.io/t/how-to-create-a-flow-run-from-deployment-orchestrator-pattern/803
n
Nathaniel Russell
09/12/2022, 6:53 PM
Yes thank you Serina.
🙌 1
4
Views
Open in Slack
Previous
Next