sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Ensure NoneType when inspecting origin type args contain None

Open VegetarianOrc opened this issue 11 months ago • 0 comments

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 #1237

  2. How was this tested:

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

VegetarianOrc avatar Dec 09 '25 23:12 VegetarianOrc