[stubsabot] Bump jsonschema to 4.7.* (#8299)

This commit is contained in:
Shantanu
2022-07-14 23:40:05 -07:00
committed by GitHub
parent 8fb85533cd
commit e90ee8e0d9
2 changed files with 3 additions and 1 deletions

View File

@@ -1 +1 @@
version = "4.6.*"
version = "4.7.*"

View File

@@ -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: ...