You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Nerdlet369 (via GitHub)" <gi...@apache.org> on 2026/10/11 15:02:18 UTC
[PR] Docs: clarify XComArg indexing semantics in TaskFlow API [airflow]
Nerdlet369 opened a new pull request, #74558:
URL: https://github.com/apache/airflow/pull/74558
## Description
Indexing an `XComArg` with square brackets (for example `email_info['subject']`) does not perform dictionary access on the task return value. It returns a new `XComArg` referencing the XCom pushed by the upstream task under that key, which happens automatically when the upstream task uses `multiple_outputs=True`. Documented this in the TaskFlow tutorial to address the confusion reported in the issue.
## Related Issue
Closes #25061
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org