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.
System Information
Expected behavior
The
name
attribute of anObject
should be typed as astr
.Description about the bug
Object
inherits fromID
, whosename
attribute is typed asUnion[str, typing.Any]
; on closer inspection this is pervasive throughouttypes.py
for boolean, string and enum type annotations.