-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rf: refactor code to allow caching of jsonschema validators
Refactor code to allow caching of jsonschema validators. Specifically, `_get_jsonschema_validator()` caches validators for schemas downloaded from the `dandi/schema` repo, and `_get_jsonschema_validator_local()` caches validator for schemas generated from locally defined Pydantic models. In this refactoring, additional appropriate validations of arguments to involved funcs are added.
- Loading branch information
1 parent
b6dbb83
commit e32f32d
Showing
4 changed files
with
475 additions
and
197 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
Oops, something went wrong.