mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
[stubsabot] Bump jsonschema to 4.7.* (#8299)
This commit is contained in:
@@ -1 +1 @@
|
||||
version = "4.6.*"
|
||||
version = "4.7.*"
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user