Skip to content

Commit 45aad17

Browse files
committed
fix docstring again
1 parent 1f21c56 commit 45aad17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pydantic_core/core_schema.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2859,8 +2859,7 @@ class MyTypedDict(TypedDict):
28592859
a: str
28602860
28612861
wrapper_schema = core_schema.typed_dict_schema(
2862-
{'a': core_schema.typed_dict_field(core_schema.str_schema())},
2863-
cls=MyTypedDict
2862+
{'a': core_schema.typed_dict_field(core_schema.str_schema())}, cls=MyTypedDict
28642863
)
28652864
v = SchemaValidator(wrapper_schema)
28662865
assert v.validate_python({'a': 'hello'}) == {'a': 'hello'}

0 commit comments

Comments
 (0)