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


##########
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:
   The behaviour we want (and test should be around it) is:
   
   - A single value is returned when `task_ids="task1"`
   - A list when `task_ids=["task1"]`



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