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
{{ message }}
Repository navigation
Python schema conversion crashes on inherited Annotated fields with unhashable metadata #543
Change base_attributes to OrderedDict[str, list[object]], replace setdefault(prop, set()).add(type_hint) with setdefault(prop, []).append(type_hint), and update attribute_identical_in_all_bases to use:
Cover inherited dictionary metadata, identical base annotations, and conflicting base annotations.
Verification
The upstream inheritance statements reproduced the exception on Python 3.13.5 with Pydantic 2.13.5. Proposed comparison logic passed isolated tests. Full integration tests were not run. No matching open or closed issue or PR was found. Unlike #454, this involves an already-supported string field.
Activity
shubhambhar007 commentedon Nov 25, 2026
Matthew Wesney (@dovvnloading) can i please try this?