Skip to content

Conversation

@blast-hardcheese
Copy link
Contributor

Why

We had one overly-broad # type: ignore due to using the old-style of pydantic field renaming. Switching to PEP593-Annotated types, we can communicate the alias as well as the default value correctly.

What changed

Simplified codegen
Added tests

Test plan

CI

@blast-hardcheese blast-hardcheese requested a review from a team as a code owner April 7, 2025 22:13
@blast-hardcheese blast-hardcheese requested review from jackyzha0 and removed request for a team April 7, 2025 22:13
@blast-hardcheese blast-hardcheese force-pushed the dstewart/chore/avoid-type-ignore branch from 88dce48 to 0970f8f Compare April 7, 2025 22:15
@blast-hardcheese blast-hardcheese merged commit b72caf8 into main Apr 7, 2025
3 checks passed
@blast-hardcheese blast-hardcheese deleted the dstewart/chore/avoid-type-ignore branch April 7, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants