Consider example at the end of the post, all those properties have name as their first argument and from .pyi it seems that this argument is positional but after running the snippet below Blender outputs default property names, name argument didn't worked. But if we provide name as a keyword argument, it will work.
So it seems those props arguments are kind of keyword only. Maybe they should be defined as keyword only? Though no idea what's the first positional argument is then if it's not name - I guess it's still there since there was no error defining a property with just 1 positional argument.
Using fake-bpy-module-latest-20240522.
Consider example at the end of the post, all those properties have
name
as their first argument and from.pyi
it seems that this argument is positional but after running the snippet below Blender outputs default property names,name
argument didn't worked. But if we providename
as a keyword argument, it will work.So it seems those props arguments are kind of keyword only. Maybe they should be defined as keyword only? Though no idea what's the first positional argument is then if it's not
name
- I guess it's still there since there was no error defining a property with just 1 positional argument.Example: