Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jhardy54
on Dec 24, 2021
|
parent
|
context
|
favorite
| on:
Attrs – the Python library everyone needs (2016)
Pydantic works with mypy, so you have validation at build-time and parsing at runtime.
timost
on Dec 25, 2021
[–]
Last time I checked. Constrained types do not work with mypy out of the box.
https://github.com/samuelcolvin/pydantic/issues/975
jhardy54
on Dec 26, 2021
|
parent
[–]
Thanks! I didn’t know about that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: