diff --git a/stubs/jsonschema/jsonschema/exceptions.pyi b/stubs/jsonschema/jsonschema/exceptions.pyi index 1560375dabb6..aef0c616e705 100644 --- a/stubs/jsonschema/jsonschema/exceptions.pyi +++ b/stubs/jsonschema/jsonschema/exceptions.pyi @@ -6,7 +6,6 @@ from typing_extensions import Self, TypeAlias, deprecated from ._types import TypeChecker from ._utils import Unset -from .protocols import Validator _RelevanceFuncType: TypeAlias = Callable[[ValidationError], SupportsRichComparison] @@ -21,7 +20,7 @@ class _Error(Exception): relative_schema_path: deque[str | int] context: list[ValidationError] cause: Exception | None - validator: Validator | Unset + validator: str | Unset validator_value: Any | Unset instance: Any | Unset schema: Mapping[str, Any] | bool | Unset