The `create_dagrun` function in the `airflow.models.DAG` class is used to create a new DAG run for a specific DAG. A DAG run represents an instance of executing a DAG, and it is used to track the status and execution details of the DAG. The `create_dagrun` function allows users to manually create a new DAG run and specify its attributes such as the execution date, external trigger, and run type. This function is useful for programmatically starting or triggering a DAG run outside of the regular schedule.
Python DAG.create_dagrun - 40 examples found. These are the top rated real world Python examples of airflow.models.DAG.create_dagrun extracted from open source projects. You can rate examples to help us improve the quality of examples.