Skip to content

Add a way to mark a return value XCom as dag result#64522

Merged
uranusjr merged 1 commit intoapache:mainfrom
astronomer:result-task
Apr 1, 2026
Merged

Add a way to mark a return value XCom as dag result#64522
uranusjr merged 1 commit intoapache:mainfrom
astronomer:result-task

Conversation

@uranusjr
Copy link
Copy Markdown
Member

Next part of #51711 (comment)

This introduces dag.add_result() to explicitly add an XComArg as the
dag's result. Backend changes are made to support this.

This is considered user-facing. Higher-level functions will be
introduced later to better support decorator-based authoring.
@uranusjr uranusjr merged commit c6a750c into apache:main Apr 1, 2026
147 checks passed
@uranusjr uranusjr deleted the result-task branch April 1, 2026 06:31
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.

2 participants