diff --git a/airflow/models/dag.py b/airflow/models/dag.py index 2c812f3bf4e64c..c887bc20fcc267 100644 --- a/airflow/models/dag.py +++ b/airflow/models/dag.py @@ -91,7 +91,8 @@ class DAG(BaseDag, LoggingMixin): DAGs essentially act as namespaces for tasks. A task_id can only be added once to a DAG. - :param dag_id: The id of the DAG + :param dag_id: The id of the DAG; must consist exclusively of alphanumeric + characters, dashes, dots and underscores (all ASCII) exclusively :type dag_id: str :param description: The description for the DAG to e.g. be shown on the webserver :type description: str