Closed arcusmaximus closed 4 months ago
This issue is fixed.
The same goes for the return values of bmesh.ops.*
This is wrong. bmesh.ops* does not accept override related parameters.
I mean the return types of bmesh.ops.*, not the parameters. For example, bmesh.ops.create_uvsphere()
is declared with a return type of Dict
without further details.
@arcusmaximus
I misunderstood your report. The other issue is also fixed now.
Calling any function in bpy.ops gives me a type error with VS Code's Pyright in
strict
mode. The reason is that theoverride_context
parameter is typed astyping.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
with thetyping.Dict
missing its generic parameters. Extending it totyping.Dict[str, typing.Any]
would solve the error.The same goes for the return values of bmesh.ops.*