Skip to content

Fix pydantic field error#102

Merged
piercefreeman merged 5 commits intomainfrom
feature/fix-annotation-typehinting
Apr 1, 2026
Merged

Fix pydantic field error#102
piercefreeman merged 5 commits intomainfrom
feature/fix-annotation-typehinting

Conversation

@piercefreeman
Copy link
Copy Markdown
Owner

@piercefreeman piercefreeman commented Apr 1, 2026

We must use private functions of pydantic to handle some of the field introspection / overriding that we need to do to define model fields. But this has known risk of breakage over time as they change the internal implementation. We add additional CI coverage to run our logic on the last 20 minor version bumps of Pydantic to verify our approach is consistent and works across a wide range of this.

In particular we fix a bug with annotating fields for definitions.

@piercefreeman piercefreeman merged commit c60303b into main Apr 1, 2026
23 checks passed
@piercefreeman piercefreeman deleted the feature/fix-annotation-typehinting branch April 1, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant