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

You can type it as StrictInt etc to stop this implicit type conversion.

https://pydantic-docs.helpmanual.io/usage/types/#strict-type...



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

Search: