amoghrajesh commented on code in PR #45509:
URL: https://github.com/apache/airflow/pull/45509#discussion_r1908726708
##########
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:
Right yes. Not needed. I converted it to a set earlier. That would remove
the ordering, Ill change 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]