Skip to content

Commit 70dd797

Browse files
committed
Type validation context as dict[str, Any] | None
1 parent 0c0e391 commit 70dd797

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/pydantic_core/_pydantic_core.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SchemaValidator:
7171
*,
7272
strict: bool | None = None,
7373
from_attributes: bool | None = None,
74-
context: Any = None,
74+
context: 'dict[str, Any] | None' = None,
7575
self_instance: Any | None = None,
7676
) -> Any: ...
7777
def isinstance_python(
@@ -80,15 +80,15 @@ class SchemaValidator:
8080
*,
8181
strict: bool | None = None,
8282
from_attributes: bool | None = None,
83-
context: Any = None,
83+
context: 'dict[str, Any] | None' = None,
8484
self_instance: Any | None = None,
8585
) -> bool: ...
8686
def validate_json(
8787
self,
8888
input: str | bytes | bytearray,
8989
*,
9090
strict: bool | None = None,
91-
context: Any = None,
91+
context: 'dict[str, Any] | None' = None,
9292
self_instance: Any | None = None,
9393
) -> Any: ...
9494
def validate_assignment(
@@ -99,7 +99,7 @@ class SchemaValidator:
9999
*,
100100
strict: bool | None = None,
101101
from_attributes: bool | None = None,
102-
context: Any = None,
102+
context: 'dict[str, Any] | None' = None,
103103
) -> dict[str, Any]: ...
104104
def get_default_value(self, *, strict: bool | None = None, context: Any = None) -> Some | None: ...
105105

0 commit comments

Comments
 (0)