Introductie tot Apache Airflow in Python
Mike Metzger
Data Engineer
Dag, of Directed Acyclic Graph:


Voorbeeld-dag (Taskflow API):
from airflow.sdk import dagfrom pendulum import datetime @dag( dag_id='etl_workflow', email='[email protected]', start_date=datetime(2026, 3, 15, tz="UTC") )def etl_workflow(): ...etl_workflow()
airflow-commandoregel bevat veel subcommando'sairflow -h – hulp en beschrijvingen van subcommando's
Dag-subcommando's
airflow dags list – toon alle herkende dagsairflow dags reserialize – forceer Airflow om dag-bestanden te herladenairflow tasks test – voer een specifieke task uitGebruik de commandoregeltool om:

Gebruik Python om:

Introductie tot Apache Airflow in Python