I just wish I could disable the type coercion. E.g. 1 becomes "1" if the attribute is annotated str.
Coercion is quite powerful and saves me quite a bit of work. I write validation for config files that non programmers create. I would happily avoid explaining the difference between a 1 and a "1" to them whenever I can and let coercion do the work. It reduces the mental load on them too.
https://pydantic-docs.helpmanual.io/usage/schema/#field-cust...