missing attribute dataclass copy with slots=True & validate_assignment=True #11768
Closed
1 task done
Labels
bug V2
Bug related to Pydantic V2
Initial Checks
Description
When copying a pydantic v2 dataclass with both
"validate_assignment": True
andslots=True
, I getobject has no attribute
for an existing field.Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: