Files
pydantic/tests
John Sabath 6b1a0bff54 Prevent fields from being deleted from BaseModel.__dict__ when a field validator raises an unexpected exception (#2046)
* don't pop the value off __dict__

* adding change description

* still pop the field, but catch any exc, set the field to og value, and reraise exc

* adding tests

* fixing test

* improve tests/test_validators.py tests

Co-authored-by: John Sabath <john.sabath@equipmentshare.com>
Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
2020-10-28 19:21:26 +00:00
..
2017-05-03 22:23:41 +01:00
2020-03-21 18:14:17 +00:00
2019-06-21 12:32:03 +01:00
2020-03-17 19:57:13 +00:00
2020-03-21 17:02:07 +00:00
2020-07-03 20:56:36 +01:00
2020-10-25 16:24:37 +00:00
2020-10-26 10:25:48 +00:00