Hacker News new | ask | show | jobs
by jhardy54 1641 days ago
Pydantic works with mypy, so you have validation at build-time and parsing at runtime.
1 comments

Last time I checked. Constrained types do not work with mypy out of the box.

https://github.com/samuelcolvin/pydantic/issues/975

Thanks! I didn’t know about that.