Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious unions with typing.Any #181

Closed
Road-hog123 opened this issue Feb 3, 2024 · 1 comment
Closed

Spurious unions with typing.Any #181

Road-hog123 opened this issue Feb 3, 2024 · 1 comment
Assignees
Labels

Comments

@Road-hog123
Copy link
Contributor

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.

@nutti nutti self-assigned this May 16, 2024
@nutti nutti added the bug label May 16, 2024
@nutti
Copy link
Owner

nutti commented May 16, 2024

This issue is fixed now.

@nutti nutti closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants