kaxil commented on code in PR #49692:
URL: https://github.com/apache/airflow/pull/49692#discussion_r2057989565


##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -363,8 +363,6 @@ def xcom_pull(
             else:
                 xcoms.append(value)
 
-        if len(xcoms) == 1:
-            return xcoms[0]

Review Comment:
   There is also the case where it can be a single task but that but someone 
has requested multiple `map_indexes`
   
   based on 
https://github.com/apache/airflow/blob/2.10.5/airflow/models/taskinstance.py#L625-L633



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