nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.32k stars 95 forks source link

Layout.prop data argument should be object, not AnyType #141

Closed cmbasnett closed 8 months ago

cmbasnett commented 9 months ago

System Information

Expected behavior

Layout.prop should accept an object as the first argument type.

Description about the bug

The Layout.prop has it's data type as AnyType, which gives errors when passing in self, for example.

Screenshots/Files [Optional]

image

Additional comments [Optional]

There is also the same problem with prop_search for both the data and search_data arguments.

nutti commented 8 months ago

This issue is now fixed.