airflow.models.dagwarning
¶
Module Contents¶
Classes¶
A table to store DAG warnings. |
|
Enum for DAG warning types. |
- class airflow.models.dagwarning.DagWarning(dag_id, error_type, message, **kwargs)[source]¶
Bases:
airflow.models.base.Base
A table to store DAG warnings.
DAG warnings are problems that don’t rise to the level of failing the DAG parse but which users should nonetheless be warned about. These warnings are recorded when parsing DAG and displayed on the Webserver in a flash message.