ashb commented on a change in pull request #21933:
URL: https://github.com/apache/airflow/pull/21933#discussion_r817713066
##########
File path: airflow/models/baseoperator.py
##########
@@ -656,11 +658,16 @@ class derived from this one results in the creation of a
task object,
start_date: Optional[pendulum.DateTime] = None
end_date: Optional[pendulum.DateTime] = None
+ # How operator-mapping arguments should be validated. If True, a default
validation implementation that
+ # calls the operator's constructor is used. If False, the operator should
implement its own validation
+ # logic (default implementation is 'pass' i.e. no validation whatsoever).
+ mapped_arguments_validated_by_init = False
Review comment:
```suggestion
mapped_arguments_validated_by_init: ClassVar[bool] = False
```
maybe?
--
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]