fake-bpy-module icon indicating copy to clipboard operation
fake-bpy-module copied to clipboard

Spurious unions with typing.Any

Open Road-hog123 opened this issue 1 year ago • 0 comments

System Information

  • OS: Windows 10
  • fake_bpy_modules_4.0-20231118

Expected behavior

The name attribute of an Object should be typed as a str.

Description about the bug

Object inherits from ID, whose name attribute is typed as Union[str, typing.Any]; on closer inspection this is pervasive throughout types.py for boolean, string and enum type annotations.

Road-hog123 avatar Feb 03 '24 23:02 Road-hog123