Skip to content

Commit

Permalink
chore: update change
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyWood committed Jan 17, 2021
1 parent 0a250e1 commit 3361496
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changes/2216-PrettyWood.md
@@ -1 +1,3 @@
add support for `NamedTuple` and `TypedDict` types
Add support for `NamedTuple` and `TypedDict` types.
Those two types are now handled and validated when used inside `BaseModel` or _pydantic_ `dataclass`.
Two utils are also added `create_model_from_namedtuple` and `create_model_from_typeddict`.

0 comments on commit 3361496

Please sign in to comment.