Hacker News new | ask | show | jobs
by stevesimmons 1403 days ago
You can type it as StrictInt etc to stop this implicit type conversion.

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