Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered experimental and
some APIs might get changed without preserving full backwards compatibility.
class
ImporterManagerManager for AbstractImporter plugin instances
Each plugin returned by instantiate() or load_and_instantiate() references its owning ImporterManager through AbstractImporter.manager, ensuring the manager is not deleted before the plugin instances are.
Methods
- def instantiate(self, arg0: str, /) -> AbstractImporter
- def load(self, plugin: str) -> corrade.pluginmanager.LoadState
- Load a plugin
- def load_and_instantiate(self, arg0: str, /) -> AbstractImporter
- def load_state(self, plugin: str) -> corrade.pluginmanager.LoadState
- Load state of a plugin
- def metadata(self, plugin: str) -> corrade.pluginmanager.PluginMetadata
- Plugin metadata
- def register_external_manager(self, manager: corrade.pluginmanager.AbstractManager) -> None
- Register an external manager for resolving inter-manager dependencies
- def reload_plugin_directory(self, /) -> None
- Reload plugin directory
- def set_preferred_plugins(self, alias: str, plugins: typing.List[str]) -> None
- Set preferred plugins for given alias
- def unload(self, plugin: str) -> corrade.pluginmanager.LoadState
- Unload a plugin
Special methods
Properties
- alias_list: typing.List[str] get
- List of all available alias names
- plugin_directory: str get set
- Plugin directory
- plugin_interface: str get
- Plugin interface string
- plugin_list: typing.List[str] get
- List of all available plugin names
Data
- VERSION = 7