Skip to content

fix(controllers): use inspect.getmembers() on types, not on instances#146

Merged
matosys merged 1 commit intomainfrom
fix/issue-in-properties-refering-vdev-meths
Apr 15, 2026
Merged

fix(controllers): use inspect.getmembers() on types, not on instances#146
matosys merged 1 commit intomainfrom
fix/issue-in-properties-refering-vdev-meths

Conversation

@matosys
Copy link
Copy Markdown
Contributor

@matosys matosys commented Apr 15, 2026

This results in an issue when collecting feature properties that use other methods that are decorated with @balder.for_vdevice(). inspect.getmembers() executes properties, when the item is an object.

We do not need to call this on methods, it is okay to use the type to get all methods that belong to that feature instance.

problem when collecting properties that refer other methods that are decorated with `@balder.for_vdevice()`
@matosys matosys merged commit bf6e186 into main Apr 15, 2026
25 checks passed
@matosys matosys deleted the fix/issue-in-properties-refering-vdev-meths branch April 15, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant