compass.plugin.registry.register_plugin#
- register_plugin(plugin_class)[source]#
Register a plugin class in the plugin registry
- Parameters:
plugin_class (
type) – The plugin class to register. Must be a subclass ofBaseExtractionPluginand must pass the plugin configuration validation.- Raises:
COMPASSPluginConfigurationError – If the plugin class is not a subclass of
BaseExtractionPluginor if it does not pass the plugin configuration validation.