PluginLoader
PluginLoader ¶
error_plugins
instance-attribute
¶
A list with plugins (more precisely, with the paths to them) that could not be loaded.
off_plugins
instance-attribute
¶
A list with disabled plugins (more precisely, with information about them).
plugins_config_path
instance-attribute
¶
The path to the plugin loader configuration file.
plugins_dirpath
instance-attribute
¶
The path to the plugin folder.
PluginLoaderConfigManager ¶
config
instance-attribute
¶
Contains attributes from the plugin configuration file.
dump
staticmethod
¶
Overwriting configurations.
Parameters
Parameter | Default | Description |
---|---|---|
path
str
|
required | The path to the plugin configuration file. |
data
PluginLoaderConfigModel
|
required | Contains attributes from the plugin configuration file. |
load
staticmethod
¶
Loading configurations.
Parameters
Parameter | Default | Description |
---|---|---|
path
str
|
required | The path to the plugin configuration file. |
default_data
Dict[str, Any]
|
required | The standard values of the configuration file. |
Returns
Name | Type | Description |
---|---|---|
PluginLoaderConfigModel |
PluginLoaderConfigModel
|
Contains attributes from the plugin configuration file. |