3 ms·
I have used native dataclasses with pydantic starting with v1.5 and it’s only improved with the the newer 2.x releases. Aside from basic inheritance and compl
by kitotik 1y ago
I have used native dataclasses with pydantic starting with v1.5 and it’s only improved with the the newer 2.x releases.
Aside from basic inheritance and complex nested types, the pydantic ‘TypeAdapter’ is awesome for simply validating native dataclasses. It’s a little slow, but everything pydantic is =)