diff options
author | Julian Berman <Julian@GrayVines.com> | 2023-02-15 10:44:33 +0200 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2023-02-15 11:05:56 +0200 |
commit | 64a744277e5ff627ed769dcadfd48e98c9f64302 (patch) | |
tree | 428a2da61bb2d4e0376f1e3a738bca7c2c76704e /jsonschema | |
parent | 3b9d58cd907631d5c62d6ac10bac27657307a66d (diff) | |
download | jsonschema-64a744277e5ff627ed769dcadfd48e98c9f64302.tar.gz |
More specific type.
Diffstat (limited to 'jsonschema')
-rw-r--r-- | jsonschema/validators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jsonschema/validators.py b/jsonschema/validators.py index 116f2a6..d370dc5 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -27,10 +27,11 @@ from jsonschema import ( _validators, exceptions, ) +from jsonschema.protocols import Validator _UNSET = _utils.Unset() -_VALIDATORS: dict[str, typing.Any] = {} +_VALIDATORS: dict[str, Validator] = {} _META_SCHEMAS = _utils.URIDict() _VOCABULARIES: list[tuple[str, typing.Any]] = [] |