-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Expose `load` and `save` publicly for each dataset Signed-off-by: Deepyaman Datta <[email protected]> * Split docstrings to maintain one-line descriptions Signed-off-by: Deepyaman Datta <[email protected]> * Assign new-style public `load` and `save` in tests Signed-off-by: Deepyaman Datta <[email protected]> * Don't fail when trying to access unset annotations Signed-off-by: Deepyaman Datta <[email protected]> * Add coverage for legacy dataset functionality, too Signed-off-by: Deepyaman Datta <[email protected]> * Fix detection of `load` or `save` being overridden Signed-off-by: Deepyaman Datta <[email protected]> * Cover saving versioned over unversioned for legacy Signed-off-by: Deepyaman Datta <[email protected]> * Add tests for invalid data and version consistency Signed-off-by: Deepyaman Datta <[email protected]> * Guard against wrapping inherited `load` and `save` Signed-off-by: Deepyaman Datta <[email protected]> * Add missing type annotations for wrapper functions Signed-off-by: Deepyaman Datta <[email protected]> * Update type hints for wrapper methods, adding Self Signed-off-by: Deepyaman Datta <[email protected]> * Try to remove `Self` annotation from function defs Signed-off-by: Deepyaman Datta <[email protected]> * Restore `Self` annotation for load, save functions This reverts commit 5041f5a. Signed-off-by: Deepyaman Datta <[email protected]> * Update the instructions for creating a new dataset Signed-off-by: Deepyaman Datta <[email protected]> --------- Signed-off-by: Deepyaman Datta <[email protected]>
- Loading branch information
Showing
9 changed files
with
304 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.