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


##########
airflow/models/mappedoperator.py:
##########
@@ -839,6 +841,8 @@ def unmap(self, resolve: None | Mapping[str, Any] | 
tuple[Context, Session]) ->
         from airflow.serialization.serialized_objects import 
SerializedBaseOperator
 
         op = SerializedBaseOperator(task_id=self.task_id, params=self.params, 
_airflow_from_mapped=True)
+        if "upstream_task_ids" not in self.operator_class:  # 
upstream_task_ids is not serialized
+            self.operator_class["upstream_task_ids"] = 
list(self.upstream_task_ids)

Review Comment:
   This leads to the question… should we serialise it?



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