4 ms·Pydantic works with mypy, so you have validation at build-time and parsing at runtime.by jhardy54 5y agoPydantic works with mypy, so you have validation at build-time and parsing at runtime.timost 5y agoLast time I checked. Constrained types do not work with mypy out of the box. https://github.com/samuelcolvin/pydantic/issues/975 https://github.com/samuelcolvin/pydantic/issues/975jhardy54 5y agoThanks! I didn’t know about that.