Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant