This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit cc3f95779bfdd87a42a9a5bb41ca079dd36bec38
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Jan 8 14:44:06 2026 +0530
[v3-1-test] Fix docstring for RuntimeTaskInstance.xcom_pull (#60220)
(#60252)
The docstring previously indicated the Airflow 2 behavior of allowing both
key and task_ids to be set to None to query all values. These have been
updated to indicate that key cannot be None and that task_ids will
default to the current task_id.
(cherry picked from commit b8effe95b481d6fe0c31dddcf3dd8d90d7697651)
Co-authored-by: GlenboLake <[email protected]>
Co-authored-by: Amogh Desai <[email protected]>
---
task-sdk/src/airflow/sdk/execution_time/task_runner.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/task-sdk/src/airflow/sdk/execution_time/task_runner.py
b/task-sdk/src/airflow/sdk/execution_time/task_runner.py
index 611228ec201..6a64983edfa 100644
--- a/task-sdk/src/airflow/sdk/execution_time/task_runner.py
+++ b/task-sdk/src/airflow/sdk/execution_time/task_runner.py
@@ -310,9 +310,9 @@ class RuntimeTaskInstance(TaskInstance):
keys will be returned. The default key is ``'return_value'``, also
available as constant ``XCOM_RETURN_KEY``. This key is
automatically
given to XComs returned by tasks (as opposed to being pushed
- manually). To remove the filter, pass *None*.
+ manually).
:param task_ids: Only XComs from tasks with matching ids will be
- pulled. Pass *None* to remove the filter.
+ pulled. If *None* (default), the task_id of the calling task is
used.
:param dag_id: If provided, only pulls XComs from this Dag. If *None*
(default), the Dag of the calling task is used.
:param map_indexes: If provided, only pull XComs with matching indexes.