DAG (directed acyclic graph)

A DAG (directed acyclic graph) is the definition of a workflow in Apache Airflow: a set of tasks linked by dependencies, with no loops, and a schedule. It is written in Python and describes what to run and in what order; Airflow takes care of scheduling, retries, and tracking.

Example

with DAG('ventes_quotidien', start_date=datetime(2025, 1, 1), schedule='@daily', catchup=False):
    ...

Related concepts

The whole glossary