mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
c3870b611e
* Added schema generation for Generic fields with tests. Fixed test_assert_raises_validation_error. * Added schema generation for Generic fields with tests. Fixed test_assert_raises_validation_error. * tested on python 3.6, 3.7, 3.8, 3.9 * tested on python 3.6, 3.7, 3.8, 3.9 * restore formatting * fix mistakes * formatting * formatting * formatting * fixed coverage * changes file * changes file * remove redundant len * Update pydantic/schema.py Co-authored-by: Maz Jaleel <mazjaleel@gmail.com> Co-authored-by: Maxim Berg <berg@petrostyle.com> Co-authored-by: Maz Jaleel <mazjaleel@gmail.com>
46 B
46 B
Support generating schema for Generic fields.