Skip to main content

airflow-pydantic

Typed, serializable models for Apache Airflow DAGs, tasks, sensors, schedules, and runtime resources.

Build Status codecov License PyPI

from airflow_pydantic import BashTask, Dag

dag = Dag(
    dag_id="daily-report",
    schedule="0 6 * * *",
    start_date="2025-01-01",
    catchup=False,
    tasks={
        "report": BashTask(bash_command="python /opt/jobs/report.py"),
    },
)

print(dag.render())

Models validate configuration before Airflow parses it, support Python and YAML workflows, render standalone DAG source, and instantiate native Airflow objects. airflow-config is the recommended YAML entry point.

Documentation

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

Ecosystem

[!NOTE] This library was generated using copier from the Base Python Project Template repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_pydantic-1.6.1.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_pydantic-1.6.1-py3-none-any.whl (118.2 kB view details)

Uploaded Python 3

File details

Details for the file airflow_pydantic-1.6.1.tar.gz.

File metadata

  • Download URL: airflow_pydantic-1.6.1.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for airflow_pydantic-1.6.1.tar.gz
Algorithm Hash digest
SHA256 36c6d3138f978db31de31bdc33d0eccd4452c2c94dc7d4466f2ff8942cdcdfe8
MD5 c67a7292dc5065fac882deea0fae9ee3
BLAKE2b-256 ccc9290753b6d878290214283479764b7e703eeece88bd0cc70a7eb1ae63a597

See more details on using hashes here.

File details

Details for the file airflow_pydantic-1.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_pydantic-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79dff59aa71903e6b26d7e9ffbacae565a4610a318e22cf91e66257087706e15
MD5 97bb36a31cbb216adf7078c4f89f2894
BLAKE2b-256 9f28ca34fc97587d2df39265f5555a0eb34099e5278057689486407b67fba1d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page