mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
177ca2a6b2
* Descriptive exception for incorrectly defined validator fields. Throws a ConfigError wth helpful feedback if a validator is passed incorrectly defined fields. * Minor grammar correction. * Expanded example. * Added test for bad validator decorator fields. * Added changes .md file. * Improved wording in error message. * Test fix. * Update pydantic/class_validators.py Encloses expression into a list comprehension. Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> * Update pydantic/class_validators.py Removed some exception verbosity. Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> * Update changes/3215-SunsetOrange.md Removed some changes verbosity. Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> * use pytest.raises(.., match=...) Co-authored-by: Michael <michael.bedford@superloop.com> Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> Co-authored-by: Samuel Colvin <s@muelcolvin.com>
Pending Changes
This directory contains files describing changes to pydantic since the last release.
If you're creating a pull request, please add a new file to this directory called
<pull request or issue id>-<github username>.md. It should be formatted as a single paragraph of markdown
The contents of this file will be used to update HISTORY.md before the next release.