Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
reactordev
8mo ago
0 comments
Share
Exactly this. From SQL Alchemy to pydantic model, from pydantic model to pydantic dto, from pydantic dto to json/protobuf/binary to ship over the wire…
0 comments
default
newest
oldest
morkalork
8mo ago
Okay, so seeing pydantic types used in every part of an app not just the API layer is normal.
reactordev
OP
8mo ago
Yes. It’s the only way to ensure typing in a dynamic typed world. You can attrs, you can validate, but pydantic does it all.
j
/
k
navigate · click thread line to collapse