airflow-config

Declarative Apache Airflow DAGs from Hydra YAML and airflow-pydantic models.

Build Status codecov License PyPI

# config/pipeline.yaml
# @package _global_
_target_: airflow_config.Configuration

dags:
  daily-report:
    schedule: "0 6 * * *"
    start_date: "2025-01-01"
    catchup: false
    tasks:
      report:
        _target_: airflow_config.BashTask
        bash_command: python /opt/jobs/report.py
from airflow_config import load_config

config = load_config("config", "pipeline")
config.generate_in_mem()

Configuration can provide shared defaults, environment overrides, templates, extensions, generated Python DAG files, or in-memory DAG registration.

Documentation

Published documentation is available at airflow-laminar.github.io/airflow-config.

Ecosystem

Note

This library was generated using copier from the Base Python Project Template repository.