spyder.api.plugin_registration.mixins#
Spyder API plugin registration mixins.
Classes
This mixin enables a class to receive notifications when a plugin is available, by registering methods using the |
- class spyder.api.plugin_registration.mixins.SpyderPluginObserver[source]#
Bases:
objectThis mixin enables a class to receive notifications when a plugin is available, by registering methods using the
spyder.api.plugin_registration.decorators.on_plugin_available()decorator.When any of the requested plugins is ready, the corresponding registered method is called.
Notes
This mixin will only operate over the plugin requirements listed under REQUIRES and OPTIONAL class constants.