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


##########
airflow/serialization/serialized_objects.py:
##########
@@ -1081,12 +1081,12 @@ def deserialize_dag(cls, encoded_dag: Dict[str, Any]) 
-> 'SerializedDAG':
                 setattr(task.subdag, 'parent_dag', dag)
 
             if isinstance(task, MappedOperator):
-                for d in (task.mapped_kwargs, task.partial_kwargs):
-                    for k, v in d.items():
-                        if not isinstance(v, _XComRef):
-                            continue
+                expansion_kwargs = task._get_expansion_kwargs()

Review Comment:
   Because those attributes _shouldn’t_ be accessed by the scheduler anyway? So 
this likely only caused the task to be rendered incorrectly in UI.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to