python / typing_extensions

Backported and experimental type hints for Python
Other
445 stars 109 forks source link

Fix `TypeError` on nested `Annotated` types where the inner type has unhashable metadata #417

Closed AlexWaygood closed 5 months ago

AlexWaygood commented 5 months ago

Fixes #416 (and https://github.com/pydantic/pydantic/issues/9503)

AlexWaygood commented 5 months ago

Thanks! Let's release a 4.12.1 bugfix release for this?

Yeah, I'd vote yes. This one's pretty bad :/ (100% my fault, obviously)