Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pydantic works with mypy, so you have validation at build-time and parsing at runtime.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: