Skip to content

Commit 25dd584

Browse files
lmignonyvaucher
andauthored
fixup! [IMP] Pydantic: Improve API to be more pythonic
Co-authored-by: Yannick Vaucher <[email protected]>
1 parent 1418e06 commit 25dd584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic/readme/USAGE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To define your own pydantic model you just need to create a class that inherits
1818
zip_code: str = None
1919
city: str
2020
phone: str = None
21-
is_componay : bool = Field(None)
21+
is_company : bool = Field(None)
2222
2323
2424
In the preceding code, 2 new models are created, one for each class. If you

0 commit comments

Comments
 (0)