ashb commented on code in PR #22792:
URL: https://github.com/apache/airflow/pull/22792#discussion_r844306246


##########
airflow/decorators/base.py:
##########
@@ -357,6 +357,10 @@ def expand(self, **map_kwargs: "Mappable") -> XComArg:
             multiple_outputs=self.multiple_outputs,
             python_callable=self.function,
             mapped_op_kwargs=map_kwargs,
+            # Different from classic operators, kwargs passed to a taskflow
+            # task's expand() contribute to the op_kwargs operator argument, 
not
+            # the operator arguments themselves, and should expand against it.
+            expansion_kwargs_attr="mapped_op_kwargs",

Review Comment:
   Oh no, not and have it be de-serialized (easily)



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