Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
jhardy54
4y ago
0 comments
Share
Pydantic works with mypy, so you have validation at build-time and parsing at runtime.
undefined | Better HN
0 comments
default
newest
oldest
timost
4y ago
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