fake-bpy-module
fake-bpy-module copied to clipboard
Some rna_enum references are not refined
Expected behavior
All rna_enum references should be refined to a literal type.
Description about the bug
bpy.app.is_job_running() and bpy.props.(Bool|Int|Float|…)Property)() have enum arguments that are not refined correctly.
These are the only case found by the regex :arg.* :ref:`rna.
We could either update the Blender documentation upstream or special case it.
Screenshots/Files
To check if the patch is approved or not, I submitted the PR instead of tweaking our generation code. https://projects.blender.org/blender/blender/pulls/126431
The PR is not welcomed by the official repo. I will tackle this from the fake-bpy-module side.
This issue is now solved. I will close this issue.