Accept nested data for serverless tables - #599
Merged
Merged
Conversation
Normalize nested numeric table values to float64 and accept array-plus-dtype dictionaries for text or explicitly typed tables. Preserve existing NumPy array validation and storage behavior. Add focused serverless coverage for accepted and rejected inputs, and update the serverless item guide to show callers that NumPy construction is optional.\n\nVerification: make check passed. PyDR tests were intentionally left to CI at the maintainer's request because the local serverless fixture requires the private ADR Docker image.
Refresh all declared dependency groups after the serverless table input commit, as required by the repository workflow. Keep the generated lock update separate from the feature so dependency movement remains easy to review.\n\nVerification: uv sync --upgrade --all-extras, uv lock --upgrade, and make check completed successfully. No PyDR tests were run at the maintainer's request.
viseshrp
marked this pull request as ready for review
August 5, 2026 21:51
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #599 +/- ##
==========================================
+ Coverage 82.58% 82.61% +0.02%
==========================================
Files 31 31
Lines 9029 9040 +11
Branches 1624 1626 +2
==========================================
+ Hits 7457 7468 +11
Misses 1085 1085
Partials 487 487 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Restore the existing NumPy table example and keep the nested-list example so the serverless guide documents both supported caller paths. Keep the typed text-table example for explicit dtype selection.\n\nVerification: make check passed. No PyDR tests were run at the maintainer's request.
viseshrp
enabled auto-merge
August 5, 2026 22:37
margalva
approved these changes
Aug 6, 2026
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.
Fixes https://ado.internal.synopsys.com/tfs/ANSYS_Development/Portfolio/_workitems/edit/1494404
Summary
Verification
Design note
The older REST item API already converts list-based table input in validate_and_clean_table. This change gives the serverless API the same caller-friendly boundary without coupling the two item classes.