From e90ee8e0d9d2a60975dff3c95d20643e133823b5 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Thu, 14 Jul 2022 23:40:05 -0700 Subject: [PATCH] [stubsabot] Bump jsonschema to 4.7.* (#8299) --- stubs/jsonschema/METADATA.toml | 2 +- stubs/jsonschema/jsonschema/exceptions.pyi | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stubs/jsonschema/METADATA.toml b/stubs/jsonschema/METADATA.toml index 12f7b93bf..ac8fd0995 100644 --- a/stubs/jsonschema/METADATA.toml +++ b/stubs/jsonschema/METADATA.toml @@ -1 +1 @@ -version = "4.6.*" +version = "4.7.*" diff --git a/stubs/jsonschema/jsonschema/exceptions.pyi b/stubs/jsonschema/jsonschema/exceptions.pyi index f29675430..bec519be9 100644 --- a/stubs/jsonschema/jsonschema/exceptions.pyi +++ b/stubs/jsonschema/jsonschema/exceptions.pyi @@ -5,6 +5,7 @@ from typing import Any from typing_extensions import TypeAlias from jsonschema import _utils, protocols +from jsonschema._types import TypeChecker _RelevanceFuncType: TypeAlias = Callable[[ValidationError], SupportsRichComparison] @@ -36,6 +37,7 @@ class _Error(Exception): schema: Any = ..., schema_path: Sequence[str | int] = ..., parent: _Error | None = ..., + type_checker: _utils.Unset | TypeChecker = ..., ) -> None: ... @classmethod def create_from(cls: type[Self], other: _Error) -> Self: ...