palmmeteo.plugins.PluginMeta(3)

NAME
palmmeteo.plugins.PluginMeta

SYNOPSIS

Inherits ABCMeta.

Inherited by palmmeteo.plugins.Plugin.

  Public Member Functions
__new__ (cls, name, bases, dct)

Detailed Description

Meta class for plugin classes
Inherits from ABCMeta so we can use @abstractmethod decorator in plugin
mixins.
Checks for event handler methods in plugins and fills in event_hooks list.
Allows only one method name to be the handler of a specific event.
E.g. ImportPluginMixin registers event 'import' with 'import_data' method as
its handler. Import plugins inherited from ImportPluginMixin then must
implement 'import_data' method to handle the 'import' event.

Member Function Documentation

  palmmeteo.plugins.PluginMeta.__new__ ( cls, name, bases, dct)

Author

Generated automatically by Doxygen for PALM-meteo from the source code.