You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue appears to be a regression in 2.7.0; we did not see this issue in our code with 2.6.4
Traceback:
Traceback (most recent call last):
File "/path/to/main.py", line 9, in<module>
example = Example.model_construct(value="value")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/path/to/venv/lib/python3.12/site-packages/pydantic/main.py", line 228, in model_construct
elif field.validation_alias is not None and field.validation_alias in values:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'AliasPath'
Initial Checks
Description
This issue appears to be a regression in
2.7.0
; we did not see this issue in our code with2.6.4
Traceback:
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: