uranusjr commented on code in PR #38446:
URL: https://github.com/apache/airflow/pull/38446#discussion_r1537284850


##########
airflow/decorators/base.py:
##########
@@ -480,6 +480,8 @@ def _expand(self, expand_input: ExpandInput, *, strict: 
bool) -> XComArg:
         except AttributeError:
             operator_name = self.operator_class.__name__
 
+        task_display_name = partial_kwargs.get("task_display_name", None)

Review Comment:
   We don’t need to pop the value out at all. It is easier to just add a 
property on MappedOperator that reads the field instead. (The current 
implementation is actually wrong since the same is not done in the 
non-subclassed MappedOperator.)



-- 
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]

Reply via email to