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.3.tar.gz (79.9 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.3-py3-none-any.whl (118.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: airflow_pydantic-1.6.3.tar.gz
  • Upload date:
  • Size: 79.9 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.3.tar.gz
Algorithm Hash digest
SHA256 883cb9a441533d1e2b8aa0f2d0f08d9de9799ba9f8353dba279cd6bb09561f30
MD5 8d1266f477326a98acbb470dd95a152a
BLAKE2b-256 9502eaa01add4a56fa8158df4b56c4ac7b3a63882c741cc939f89d46f6cbc24f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for airflow_pydantic-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 abe172d72590d39204aed9950a46aa8bfa3727f0a34fec4e156116cd83bf85e9
MD5 de0ff10d39a02d007bb24a17bbb698df
BLAKE2b-256 d157562e1472e45ab362b74a265795c50984d1a3b59fa7d253f1f3b91419510c

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