Upgrading pydantic_core 0.31 to 0.32
Breaking0.31.0 → 0.32.0Breaking1New2Changed1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Models no longer have `__getattr__`, and the `__values__` attribute is now `__dict__`; using `__values__` still works but warns, and attribute access is much faster.
Must act 1 item needs code or config changes
What you must change
Breaking1
Removes
__getattr__ and renames __values__ to __dict__ on BaseModel, with a deprecation warning on __values__ use and up to 14x faster attribute access.BaseModel__getattr____values____dict__