DSAN 5500: Data Structures, Objects, and Algorithms in Python
Monday, March 18, 2024
(Underlined words link to “Concepts” section of Prefect’s docs)
Flow
: The “main thing” your pipeline is doing!
Tasks
Flow
s and Task
s alone already provide much more functionality than “basic” functions…Deployment
s: Flow
s + Task
s + Metadata about how and when you want them to run.
Deployment
sDeployments
enables Triggers
:
Logging
, Notifications
(Slack, email, text messages)Results
as natural-language explanations (produced by Prefect) or custom summaries, called Artifacts
, that you define as part of your flowsSchedules
crontab.sh
Events
Webhooks
Logging
log_prints=True
as a parameters of your Flow
:Notifications
Jinja
which is VERY worth learning!Jinja
ExampleDSAN 5500 Week 9: Pipeline Orchestration