mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
72d4f30f0a
Thanks to @PrettyWood for pointing me to the right place to fix this! Since I was told that both NamedTuple and TypedDict use the same __pydantic_model__ machinery that dataclasses do, I checked and found that TypedDict had the same bug, and fixed that too. Tests for both issues are included, which fail without the associated fixes being applied.