This repository contains common and extensible Prefect patterns to drive efficient workflows โ we like to call these patterns our recipes!
Here you'll find starter code and more advanced example use cases.
- Getting Started With Subflows
- Run Multiple Subflows or Child Flows in Parallel
- Subflow with a Different Task Runner Than Parent Flow
- Create a Subflow and Block Until It's Completed
- Conditionally Stop a Task Run
- Ensure Tasks Immediately Fail If Upstream Task Fails
- Define State Dependencies Between Tasks
- Deploy Flows to Run as a Local Process, Docker Container or a Kubernetes Job
- Deploy Flows to AWS
- Deploy Flows to GCP
- Deploy Flows to Azure
- Setup Azure with Prefect
- Deploy Prefect Orion to an AKS Cluster with Azure Blob Storage
- Setup an Azure VM and Run the Prefect Agent
- Register a Prefect Flow
- Run GraphQL Queries
- Airbyte Orchestration
- ETL with AWS S3 and Snowflake
- Use AWS Lambda for Event-Driven Flows
- Read Secrets into Prefect Cloud tenant
- Handle DBT Model Failures
- S3 Flow Storage on EKS
We're always looking for new contributions! You can add your Prefect 2.0 recipe and earn some swag in a few simple steps:
- Look through the recipes to ensure your example is unique
- Clone the prefect-recipes repo:
git clone [email protected]:PrefectHQ/prefect-recipes.git
- Create and checkout a new branch:
git branch feat/recipe-name
git checkout feat/recipe-name
- Add your code under the appropriate category, making sure it is reproducible and easy to understand.
- Add your recipe to README.
- Commit and push the code to your remote branch.
- Create a PR ๐ค
To report issues, typos, or link fixes, please open an issue. We appreciate it!
What are you interested in seeing examples of? Jot down your big idea here.
We use our Slack Community and Discourse to discuss all things Prefect-- such as FAQ, use cases and integrations. Join in the conversation ๐
Thank you for your contributions and efforts to improve prefect-recipes. We're glad to have you in our community!