Skip to content

Commit bef5e5c

Browse files
committed
fix linting issues
1 parent bf6d59b commit bef5e5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pydantic_core/core_schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ class DecimalSchema(TypedDict, total=False):
719719

720720
def decimal_schema(
721721
*,
722-
allow_inf_nan: bool = None,
722+
allow_inf_nan: bool | None = None,
723723
multiple_of: Decimal | None = None,
724724
le: Decimal | None = None,
725725
ge: Decimal | None = None,
@@ -2860,7 +2860,7 @@ def typed_dict_field(
28602860
class TypedDictSchema(TypedDict, total=False):
28612861
type: Required[Literal['typed-dict']]
28622862
fields: Required[Dict[str, TypedDictField]]
2863-
cls: Type[TypedDict]
2863+
cls: Type[Any]
28642864
computed_fields: List[ComputedField]
28652865
strict: bool
28662866
extras_schema: CoreSchema
@@ -2877,7 +2877,7 @@ class TypedDictSchema(TypedDict, total=False):
28772877
def typed_dict_schema(
28782878
fields: Dict[str, TypedDictField],
28792879
*,
2880-
cls: Type[TypedDict] | None = None,
2880+
cls: Type[Any] | None = None,
28812881
computed_fields: list[ComputedField] | None = None,
28822882
strict: bool | None = None,
28832883
extras_schema: CoreSchema | None = None,

0 commit comments

Comments
 (0)