pydantic.color.Color
is not hashable in 1.10.0 release
#4454
Labels
bug V1
Bug related to Pydantic V1.X
pydantic.color.Color
is not hashable in 1.10.0 release
#4454
Initial Checks
Description
In pydantic
1.9.2
(and earlier), the Color class was Hashable. in release 1.10.0 it is not hashable that broke usage color as an argument to function decorated with@lru_cache
from std lib. (napari/napari#4995)A I do not see public method for mutate such object IO thin that it is deprecation.
Example Code
pydantic 1.9.2
pydantic 1.10.0
Affected Components
.dict()
and.json()
construct()
, pickling, private attributes, ORM modeThe text was updated successfully, but these errors were encountered: