You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking about this some more in relation to making it easier to swap stages, for example; is the notion of a Component already defined anywhere?
Components are Python objects that get attached to the LabThing, with a name. This means they may be referenced by name rather than value.
Extensions are not Components (currently). Should they be? It would allow one extension to be made aware of the registration of another extension through the on_component mechanism and means you don't need to worry about whether you are looking for an Extension or a SomethingElse...
Activity
rwb27 commentedon Jun 17, 2021
I've been thinking about this some more in relation to making it easier to swap stages, for example; is the notion of a Component already defined anywhere?
rwb27 commentedon Jun 22, 2021
OK, mostly for my reference:
on_componentmechanism and means you don't need to worry about whether you are looking for an Extension or a SomethingElse...