Skip to content

Conversation

@VegetarianOrc
Copy link
Contributor

What was changed

  • Ensure we're using NoneType instead of None when inspecting type args in converter

Why?

When inspecting the origin type args in the converter Dict[None,...] produces the type args (NoneType,...) while dict[None,...] produces the type args (None,...). This change normalizes None to NoneType.

Checklist

  1. Closes [Bug] Converter returns bad value converting dict[None, Any] #1237

  2. How was this tested:

Existing convert tests were adjusted to capture the expectation that dict[None,...] returns {None:...}.

@VegetarianOrc VegetarianOrc requested a review from a team as a code owner December 9, 2025 23: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.

[Bug] Converter returns bad value converting dict[None, Any]

2 participants