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

enum set in regex is broken #211

Closed
JonathanPlasse opened this issue May 14, 2024 · 3 comments · Fixed by #217
Closed

enum set in regex is broken #211

JonathanPlasse opened this issue May 14, 2024 · 3 comments · Fixed by #217
Assignees
Labels

Comments

@JonathanPlasse
Copy link
Sponsor Contributor

Expected behavior

All parameters with enum set in in their description should have the type set[str] | set[int] as shown in the following code.
Screenshot from 2024-05-14 20-30-40

Description about the bug

bpy.ops.export_scene.fbx parameter object_types should have the type set[str] | set[int] but it has the type typing.Any | None.
Screenshot from 2024-05-14 20-31-03
Screenshot from 2024-05-14 20-14-33

@nutti
Copy link
Owner

nutti commented May 15, 2024

@JonathanPlasse

Thanks for launching this issue.
You seems to have the solution about this issue.

You can make a PR instead of waiting our fixes (same for other issues).
Also it is a good issue to understand the fake-bpy-module's generation code :)

@JonathanPlasse
Copy link
Sponsor Contributor Author

I take this on.

@nutti
Copy link
Owner

nutti commented May 15, 2024

Good to hear that. Thanks!!

I'm now trying to fix another issue.
If you want to tackle another issue in future, it is helpful to comment on the issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants