Closed cmbasnett closed 8 months ago
@cmbasnett
This is wired to me.
Function report
is defined in the bpy.types.Operator
class like this.
def report(self, type: typing.Optional[
typing.Union[typing.Set[str], typing.Set[int]]],
message: typing.Union[str, typing.Any]):
''' report
:param type: Type
:type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
:param message: Report Message
:type message: typing.Union[str, typing.Any]
'''
pass
Please check your installed fake-bpy-module.
@cmbasnett
Any update for above comment?
Sorry, I just looked into it and this was my own fault. I was importing bpy_types.Operator
, not bpy.types.Operator
😢
System Information
Expected behavior
The
report
function should be implemented for theOperator
type.Description about the bug
The
report
function is missing for theOperator
type.Screenshots/Files [Optional]
Additional comments [Optional]