You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: