mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
[stubsabot] Bump jsonschema to 4.7.* (#8299)
This commit is contained in:
1 parent
8fb85533cd
commit
e90ee8e0d9
2 files changed
+3
-1
No files matched your search
@@ -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