Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
jhardy54
4y ago
0 comments
Save
Share
Pydantic works with mypy, so you have validation at build-time and parsing at runtime.
0 comments
2 comments · 1 top-level
top
newest
oldest
timost
4y ago
· 1 in thread
Last time I checked. Constrained types do not work with mypy out of the box.
https://github.com/samuelcolvin/pydantic/issues/975
jhardy54
OP
4y ago
Thanks! I didn’t know about that.
j
/
k
navigate · click thread line to collapse