Optimize data retrieval by using return_path projection - #179
Merged
Conversation
This was referenced Aug 27, 2026
izkgao
marked this pull request as ready for review
August 27, 2026 07:57
confluence
approved these changes
Aug 31, 2026
confluence
left a comment
Collaborator
There was a problem hiding this comment.
Looks good. This will eliminate a lot of annoyances! :)
Contributor
Author
|
@confluence Now the frontend PR has been merged. The corresponding backend and python PRs could be merged as well when ready. |
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.
Description
Companion PRs:
CARTAvis/carta-frontend#2924 (should be merged first)
CARTAvis/carta-backend#1624
This PR reduces redundant frontend state traversal by using
return_pathprojections and a type-specific frontend helper, preserving wrapper behavior while minimizing response payloads and Python-side iteration.What is implemented:
return_pathdocumentation and handling descriptions to cover string, list, and mapping projections.Examples:
Frontend now provides improved error handling and descriptive error messages:
Checklist
For linked issues (if any):
For the pull request:
no tests neededdocumentation updated/ no documentation update neededFor dependencies and compatibility:
no companion PRs needed/ no dependency changespyproject.tomlanduv.lockupdatedCARTA compatibility table updated when the minimum CARTA series changes/ no compatibilityor
devstarts a newcarta-pythonmajor/minor serieschange
For pull requests targeting
main:VERSION.txtfinalized for the releaseminimum supported CARTA series