In the edgy project we customize the fields and models heavily. We inherit from FieldInfo and provide our own information.
Bug:
When turning on validate_assignment suddenly rust stack traces appear for some tests. In particular when we modify the fields so they aren't required anymore for the copy.
Environment:
In the edgy project we customize the fields and models heavily. We inherit from FieldInfo and provide our own information.
Bug:
When turning on
validate_assignment
suddenly rust stack traces appear for some tests. In particular when we modify the fields so they aren't required anymore for the copy.How to reproduce:
Run the test suite of:
https://github.com/dymmond/edgy/tree/devkral/potential_pydantic_bugs
with
hatch test
It seemingly happens when assigning an attribute.