diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-12-29 10:58:11 -0500 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2023-02-21 09:58:40 +0200 |
commit | 238e7111ecb012c4674b55a02a3ad54d4ae25a36 (patch) | |
tree | a542da4e4185ab75da5c8a4958d280d497a9a90c /jsonschema/protocols.py | |
parent | bf94d57b2b6d77cc8057be295f077435f4d4020d (diff) | |
download | jsonschema-238e7111ecb012c4674b55a02a3ad54d4ae25a36.tar.gz |
Deprecate jsonschema.RefResolver from both places it is importable.
Internal uses of it will be removed, replaced with referencing's
resolution APIs, though RefResolver will continue to function during
its deprecation period.
Diffstat (limited to 'jsonschema/protocols.py')
-rw-r--r-- | jsonschema/protocols.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/protocols.py b/jsonschema/protocols.py index 5f52166..c9c71dc 100644 --- a/jsonschema/protocols.py +++ b/jsonschema/protocols.py @@ -108,7 +108,7 @@ class Validator(Protocol): def __init__( self, schema: Mapping | bool, - resolver: jsonschema.validators.RefResolver | None = None, + resolver: jsonschema.validators._RefResolver | None = None, format_checker: jsonschema.FormatChecker | None = None, ) -> None: ... |