get_plugin_from_registry
- glotaran.plugin_system.base_registry.get_plugin_from_registry(plugin_register_key: str, plugin_registry: MutableMapping[str, _PluginType], not_found_error_message: str) _PluginType[source]
Retrieve a plugin with name
plugin_register_keyis registered in a given registry.- Parameters:
- Returns:
Plugin from the plugin Registry.
- Return type:
_PluginType
- Raises:
ValueError – If there was no plugin registered under the name
plugin_register_key.