airflow_pydantic.Dag

pydantic model airflow_pydantic.Dag[source]

Bases: DagArgs, DagRenderMixin, DagInstantiateMixin

field dag_id: str | None = None

The id of the DAG; must consist exclusively of alphanumeric characters, dashes, dots and underscores (all ASCII)

field tasks: dict[str, Annotated[Task, SerializeAsAny()]] | None [Optional]

List of tasks in the DAG