pydantic-core
pydantic-core copied to clipboard
Convert tests to use schema functions
A lot of our tests use plain dicts. This makes them brittle and hard to refactor. We should convert from {'type': 'str'} -> core_schema.str_schema().
Selected Assignee: @davidhewitt
This is going to be incredibly laborious 😭
Done in #1631, thanks @mikeedjones!