uranusjr commented on code in PR #24018:
URL: https://github.com/apache/airflow/pull/24018#discussion_r884582494
##########
airflow/models/mappedoperator.py:
##########
@@ -201,7 +201,7 @@ def _expand(self, **mapped_kwargs: "Mappable") ->
"MappedOperator":
from airflow.operators.empty import EmptyOperator
validate_mapping_kwargs(self.operator_class, "expand", mapped_kwargs)
- prevent_duplicates(self.kwargs, mapped_kwargs, fail_reason="mapping
already partial")
+ prevent_duplicates(self.kwargs, mapped_kwargs, fail_reason="unmappable
or already specified")
Review Comment:
This currently formats into
```
TypeError: unmappable or already specified argument: params
```
and a dot would be out of place. If we want to add a period here, we need to
redo the formatting.
--
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]