summaryrefslogtreecommitdiff
path: root/jsonschema/protocols.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-12-29 10:58:11 -0500
committerJulian Berman <Julian@GrayVines.com>2023-02-21 09:58:40 +0200
commit238e7111ecb012c4674b55a02a3ad54d4ae25a36 (patch)
treea542da4e4185ab75da5c8a4958d280d497a9a90c /jsonschema/protocols.py
parentbf94d57b2b6d77cc8057be295f077435f4d4020d (diff)
downloadjsonschema-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.py2
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:
...