pierrejeambrun commented on code in PR #31301:
URL: https://github.com/apache/airflow/pull/31301#discussion_r1342102803
##########
docs/apache-airflow/core-concepts/params.rst:
##########
@@ -159,6 +159,12 @@ JSON Schema Validation
},
):
+.. note::
+ If ``schedule`` is defined for a DAG params with defaults must be valid.
This is validated during DAG parsing.
+ If ``schedule=None`` then params are not validated while DAG is parsed but
finally at trigger of DAG.
Review Comment:
```suggestion
If ``schedule=None`` then params are not validated during DAG parsing
but before triggering a DAG.
```
##########
docs/apache-airflow/core-concepts/params.rst:
##########
@@ -159,6 +159,12 @@ JSON Schema Validation
},
):
+.. note::
+ If ``schedule`` is defined for a DAG params with defaults must be valid.
This is validated during DAG parsing.
Review Comment:
```suggestion
If ``schedule`` is defined for a DAG, params with defaults must be
valid. This is validated during DAG parsing.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]