[MCC-1547223] Python SDK - Add lazy frames to dataset versions - #63
Closed
dsilaghi-mdsol wants to merge 2 commits into
Closed
[MCC-1547223] Python SDK - Add lazy frames to dataset versions#63dsilaghi-mdsol wants to merge 2 commits into
dsilaghi-mdsol wants to merge 2 commits into
Conversation
Contributor
|
Closing per David and Robert. |
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.
feature
frameaccess toget_dataset_versions(), matching R parityChecklist
tests/folder.doc/folder.Changes Summary
Add a
framefield toDatasetVersionand attach a lazyDatasetFrameinget_dataset_versions(), bound to each returned version's owndataset_uuid. This lets callers fetch an older version's data viaversion.frame.head()/version.frame.collect(), matching the existingDataset.framebehavior and R's per-version frame attachment. No data is fetched during listing; existing metadata, sort order, and error handling are unchanged.Adds regression tests covering: lazy fetch on demand, correct UUID routing per version, row limits (
head/collect), field-set/equality/hash/repr compatibility withframe=Noneconstruction, empty results, and fetch/closed-client error propagation.Deployment Notes
No API breaking changes —
frameis an additional field withcompare=False, so existing equality/hash/construction ofDatasetVersionis unaffected. Requires a version bump onmainfor consumers to receive this via a published package (see prior investigation:v1.1.0tag already existed before this branch's parity work merged, so the release pipeline skipped publishing a new build).