uranusjr commented on a change in pull request #20743:
URL: https://github.com/apache/airflow/pull/20743#discussion_r786202050
##########
File path: airflow/models/baseoperator.py
##########
@@ -136,6 +136,7 @@ def _apply_defaults(cls, func: T) -> T:
non_optional_args = {
name for (name, param) in non_variadic_params.items() if
param.default == param.empty
}
+ non_optional_args -= {'task_id'}
Review comment:
```suggestion
non_optional_args = {
name
for (name, param) in non_variadic_params.items()
if param.default == param.empty
and name != "task_id"
}
```
should be the same?
--
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]