airflow.models.dag — Airflow Documentation
airflow.apache.org › airflow › modelsCreate a Timetable instance from a ``schedule_interval`` argument. airflow.models.dag.get_last_dagrun(dag_id, session, include_externally_triggered=False)[source] ¶. Returns the last dag run for a dag, None if there was none. Last dag run can be any type of run eg. scheduled or backfilled. Overridden DagRuns are ignored.