dstandish commented on code in PR #31301:
URL: https://github.com/apache/airflow/pull/31301#discussion_r1336540250
##########
docs/apache-airflow/core-concepts/params.rst:
##########
@@ -159,6 +159,11 @@ JSON Schema Validation
},
):
+.. note::
+ Schema validation on DAG definitions is only made if a schedule is
defined. If a manual or external trigger
+ is defined (e.g. via ``schedule=None``) then params are validated during
submission. This allows to enforce
+ undefined parameters being defined at trigger time.
+
Review Comment:
```suggestion
.. note::
Schema validation on DAG definitions is only made if ``schedule`` is
provided. If ``schedule=None`` then params are validated during submission.
This allows to enforce
undefined parameters being defined at trigger time.
```
the sentence `This allows to enforce undefined parameters being defined at
trigger time.` remains confusing to me
--
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]