pydantic / pydantic-core

Core validation logic for pydantic written in rust
MIT License
1.43k stars 242 forks source link

Convert tests to use schema functions #831

Open adriangb opened 1 year ago

adriangb commented 1 year ago

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

sydney-runkle commented 2 months ago

This is going to be incredibly laborious 😭