Skip to content

Commit c40aa4b

Browse files
author
ornariece
committed
removed unneeded quotes for type annotations
1 parent e1e6bc7 commit c40aa4b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

python/pydantic_core/_pydantic_core.pyi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class SchemaValidator:
101101
*,
102102
strict: bool | None = None,
103103
from_attributes: bool | None = None,
104-
context: 'dict[str, Any] | None' = None,
104+
context: dict[str, Any] | None = None,
105105
self_instance: Any | None = None,
106106
) -> Any:
107107
"""
@@ -131,7 +131,7 @@ class SchemaValidator:
131131
*,
132132
strict: bool | None = None,
133133
from_attributes: bool | None = None,
134-
context: 'dict[str, Any] | None' = None,
134+
context: dict[str, Any] | None = None,
135135
self_instance: Any | None = None,
136136
) -> bool:
137137
"""
@@ -148,7 +148,7 @@ class SchemaValidator:
148148
input: str | bytes | bytearray,
149149
*,
150150
strict: bool | None = None,
151-
context: 'dict[str, Any] | None' = None,
151+
context: dict[str, Any] | None = None,
152152
self_instance: Any | None = None,
153153
) -> Any:
154154
"""
@@ -176,7 +176,7 @@ class SchemaValidator:
176176
The validated Python object.
177177
"""
178178
def validate_strings(
179-
self, input: _StringInput, *, strict: bool | None = None, context: 'dict[str, Any] | None' = None
179+
self, input: _StringInput, *, strict: bool | None = None, context: dict[str, Any] | None = None
180180
) -> Any:
181181
"""
182182
Validate a string against the schema and return the validated Python object.
@@ -206,7 +206,7 @@ class SchemaValidator:
206206
*,
207207
strict: bool | None = None,
208208
from_attributes: bool | None = None,
209-
context: 'dict[str, Any] | None' = None,
209+
context: dict[str, Any] | None = None,
210210
) -> dict[str, Any] | tuple[dict[str, Any], dict[str, Any] | None, set[str]]:
211211
"""
212212
Validate an assignment to a field on a model.
@@ -278,7 +278,7 @@ class SchemaSerializer:
278278
round_trip: bool = False,
279279
warnings: bool = True,
280280
fallback: Callable[[Any], Any] | None = None,
281-
context: 'dict[str, Any] | None' = None,
281+
context: dict[str, Any] | None = None,
282282
) -> Any:
283283
"""
284284
Serialize/marshal a Python object to a Python object including transforming and filtering data.
@@ -321,7 +321,7 @@ class SchemaSerializer:
321321
round_trip: bool = False,
322322
warnings: bool = True,
323323
fallback: Callable[[Any], Any] | None = None,
324-
context: 'dict[str, Any] | None' = None,
324+
context: dict[str, Any] | None = None,
325325
) -> bytes:
326326
"""
327327
Serialize a Python object to JSON including transforming and filtering data.
@@ -364,7 +364,7 @@ def to_json(
364364
inf_nan_mode: Literal['null', 'constants'] = 'constants',
365365
serialize_unknown: bool = False,
366366
fallback: Callable[[Any], Any] | None = None,
367-
context: 'dict[str, Any] | None' = None,
367+
context: dict[str, Any] | None = None,
368368
) -> bytes:
369369
"""
370370
Serialize a Python object to JSON including transforming and filtering data.
@@ -428,7 +428,7 @@ def to_jsonable_python(
428428
inf_nan_mode: Literal['null', 'constants'] = 'constants',
429429
serialize_unknown: bool = False,
430430
fallback: Callable[[Any], Any] | None = None,
431-
context: 'dict[str, Any] | None' = None,
431+
context: dict[str, Any] | None = None,
432432
) -> Any:
433433
"""
434434
Serialize/marshal a Python object to a JSON-serializable Python object including transforming and filtering data.

0 commit comments

Comments
 (0)