cement.core.plugin
Cement core plugins module.
- class cement.core.plugin.PluginHandler(**kw: Any)[source]
Bases:
PluginInterface
,Handler
Plugin handler implementation.
- class cement.core.plugin.PluginInterface(**kw: Any)[source]
Bases:
Interface
This class defines the Plugin Interface. Handlers that implement this interface must provide the methods and attributes defined below. In general, most implementations should sub-class from the provided
PluginHandler
base class as a starting point.- abstract get_disabled_plugins() List[str] [source]
Returns a list of plugins that are disabled in the config.
- abstract get_enabled_plugins() List[str] [source]
Returns a list of plugins that are enabled in the config.