Skip to content

added to draft: minimal example for exposing classes and methods using decorators - #8

Open
bernhardlang wants to merge 3 commits into
PyMoDAQ:5.0.xfrom
bernhardlang:decorator-exposure
Open

added to draft: minimal example for exposing classes and methods using decorators#8
bernhardlang wants to merge 3 commits into
PyMoDAQ:5.0.xfrom
bernhardlang:decorator-exposure

Conversation

@bernhardlang

Copy link
Copy Markdown
Collaborator

Using decorators for exposing instances and their methods to the sequencer (or any other unit) as discussed in Toulouse. By simply replacing the original class' init method, no need for fiddling around with dunder methods or functools. Looks pretty short and clean to me. What do you think?

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