edulauer opened a new issue, #41983:
URL: https://github.com/apache/airflow/issues/41983
### Apache Airflow version
2.10.0
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
When passing a list of task IDs to the **task_ids** argument in
**task_instance.xcom_pull**, instead of receiving a list of values returned by
each task, you might encounter a string with the value
'**LazySelectSequence**'."
In older versions of Airflow, such as 2.9.3, this issue did not occur.
### What you think should happen instead?
It should return a list of values pushed by each task mentioned in the
task_ids argument
### How to reproduce
with DAG as dag:
push_task = PythonOperator(
task_id='push_task',
python_callable=lambda: 'Hello, World!')
push_task_2 = PythonOperator(
task_id='push_task_2',
python_callable=lambda: 'Hello, World 2!')
def pull_function(**kwargs):
ti = kwargs['ti']
msg = ti.xcom_pull(task_ids=['push_task', 'push_task_2'])
print("received message: '%s'" % msg)
pull_task = PythonOperator(
task_id='pull_task',
python_callable=pull_function,
provide_context=True,
)
### Operating System
Debian GNU/Linux 12
### Versions of Apache Airflow Providers
_No response_
### Deployment
Docker-Compose
### Deployment details
FROM apache/airflow:2.10.0-python3.10
### Anything else?
In older versions of Airflow, such as 2.9.3, this issue did not occur.
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]