Channels
pacc-may-31-2023
prefect-ai
pacc-clearcover-june-12-2023
marvin-in-the-wild
data-ecosystem
geo-israel
pacc-june-14-2023
geo-japan
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
prefect-community
data-tricks-and-tips
prefect-aws
prefect-gcp
introductions
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-server
prefect-ui
prefect-kubernetes
Powered by
Title
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
#prefect-community
Join Slack