Skip to content

Conversation

@rawwar
Copy link
Contributor

@rawwar rawwar commented Jan 30, 2025

minor rewrite of the sentence regarding pushing of multiple XComs

@rawwar rawwar requested a review from potiuk as a code owner January 30, 2025 12:30
@rawwar rawwar requested review from hussein-awala and potiuk and removed request for potiuk January 30, 2025 12:32
@rawwar
Copy link
Contributor Author

rawwar commented Jan 30, 2025

When pushing multiple XCom values, we can still pull them using the 'return_value' key if we aren't explicitly pushing using a new key. So, we aren't exactly renaming anything here. Rather, we can now also pull using the keys within the returned XCom dictionary.

@rawwar rawwar requested a review from RNHTTR January 30, 2025 12:53
Copy link
Contributor

@RNHTTR RNHTTR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be helpful to add a code snippet here demonstrating what you mean. Just by reading this, I'd have no idea how to actually implement this.

It would also probably be helpful to add additional context as to why someone would want to push multiple xcoms

@rawwar rawwar requested a review from RNHTTR February 4, 2025 17:28
@rawwar rawwar requested a review from RNHTTR February 14, 2025 05:49
@potiuk potiuk merged commit 1648d7e into apache:main Feb 25, 2025
42 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 25, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
(cherry picked from commit 1648d7e)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
@github-actions
Copy link

Backport successfully created: v2-10-test

Status Branch Result
v2-10-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Feb 25, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
(cherry picked from commit 1648d7e)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
potiuk pushed a commit that referenced this pull request Feb 25, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
(cherry picked from commit 1648d7e)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
jedcunningham pushed a commit to astronomer/airflow that referenced this pull request Feb 25, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 28, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
* update xcom docs

* add example

* add example

* add multiple_outputs=True

* use taskflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants