From 64a744277e5ff627ed769dcadfd48e98c9f64302 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 15 Feb 2023 10:44:33 +0200 Subject: More specific type. --- jsonschema/validators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jsonschema') 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]] = [] -- cgit v1.2.1