Repository navigation
[v3-4-test] Render XCom values on the API server without rebuilding objects (#74829) - #75088
Merged
Merged
Conversation
…bjects (#74829) * Render XCom values on the API server without rebuilding objects `GET .../xcomEntries/{key}?deserialize=true` fell back to `XComModel.deserialize_value()` for any `airflow.*` class, running full serde in the API server only to turn the result back into a string. `stringify()` now renders `airflow.*` classes from their serialized fields without importing them, producing the same repr-style output for attrs/dataclass types, so the fallback is removed from the XCom endpoint and the `XComOperatorLink` extra-link lookup. Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions * Render Airflow classes with custom serialization compactly in XCom display Only asset definitions, which are attrs types, have serialized fields that mirror their repr. Other Airflow classes can define serialize() returning internal state that their repr never shows, e.g. the storage options kept by ObjectStoragePath. Show those by their path or URI only. (cherry picked from commit b107f60) Co-authored-by: Jarek Potiuk <jarek@potiuk.com> Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
1 task done
vatsrahul1001
marked this pull request as ready for review
October 19, 2026 12:31
vatsrahul1001
requested review from
ashb,
bolkedebruin,
bugraoz93,
choo121600,
ephraimbuddy,
henry3260,
jason810496,
pierrejeambrun,
rawwar and
shubhamraj-git
as code owners
October 19, 2026 12:31
Contributor
Author
|
Hi maintainer, this PR was merged without a milestone set.
|
vatsrahul1001
pushed a commit
that referenced
this pull request
Oct 20, 2026
…bjects (#74829) (#75088) * Render XCom values on the API server without rebuilding objects `GET .../xcomEntries/{key}?deserialize=true` fell back to `XComModel.deserialize_value()` for any `airflow.*` class, running full serde in the API server only to turn the result back into a string. `stringify()` now renders `airflow.*` classes from their serialized fields without importing them, producing the same repr-style output for attrs/dataclass types, so the fallback is removed from the XCom endpoint and the `XComOperatorLink` extra-link lookup. Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions * Render Airflow classes with custom serialization compactly in XCom display Only asset definitions, which are attrs types, have serialized fields that mirror their repr. Other Airflow classes can define serialize() returning internal state that their repr never shows, e.g. the storage options kept by ObjectStoragePath. Show those by their path or URI only. (cherry picked from commit b107f60) Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET .../xcomEntries/{key}?deserialize=truefell back toXComModel.deserialize_value()for anyairflow.*class, running fullserde in the API server only to turn the result back into a string.
stringify()now rendersairflow.*classes from their serializedfields without importing them, producing the same repr-style output for
attrs/dataclass types, so the fallback is removed from the XCom endpoint
and the
XComOperatorLinkextra-link lookup.Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
Only asset definitions, which are attrs types, have serialized fields that
mirror their repr. Other Airflow classes can define serialize() returning
internal state that their repr never shows, e.g. the storage options kept
by ObjectStoragePath. Show those by their path or URI only.
(cherry picked from commit b107f60)
Co-authored-by: Jarek Potiuk jarek@potiuk.com
Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions