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


##########
task_sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -213,40 +213,48 @@ def xcom_pull(
             run_id = self.run_id
 
         if task_ids is None:
+            # default to the current task if not provided
             task_ids = self.task_id
         elif not isinstance(task_ids, str) and isinstance(task_ids, Iterable):
-            # TODO: Handle multiple task_ids or remove support
-            raise NotImplementedError("Multiple task_ids are not supported 
yet")
-
+            # Retain the ordering as per legacy
+            task_ids = list(task_ids)

Review Comment:
   Why do we need to do this at all? Couldn't we just iterate over what is 
given to us?



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