Skip to content

[chore]: Drop redundant Pydantic variable annotations - #4082

Merged
jvstme merged 1 commit into
masterfrom
drop_redandant_annotations
Aug 3, 2026
Merged

[chore]: Drop redundant Pydantic variable annotations#4082
jvstme merged 1 commit into
masterfrom
drop_redandant_annotations

Conversation

@jvstme

@jvstme jvstme commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

These annotations are an artifact of the
now-irrelevant pydantic-duality parsing with
CoreModel.__response__, which returned an
unknown type. The recently added
validate_json_extra_ignore and
validate_extra_ignore functions infer return
types correctly, so call sites no longer require
an annotation.

These annotations are an artifact of the
now-irrelevant pydantic-duality parsing with
`CoreModel.__response__`, which returned an
unknown type. The recently added
`validate_json_extra_ignore` and
`validate_extra_ignore` functions infer return
types correctly, so call sites no longer require
an annotation.
@jvstme
jvstme merged commit bd4ceca into master Aug 3, 2026
27 checks passed
@jvstme
jvstme deleted the drop_redandant_annotations branch August 3, 2026 13:51
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