sec_interp.core.config module
- class sec_interp.core.config.ConfigService[source]
Bases:
objectService to handle plugin configuration and persistent settings.
- PREFIX = 'SecInterp/'
- SUPPORTED_DOCUMENT_FORMATS = ['.pdf', '.svg']
- SUPPORTED_IMAGE_FORMATS = ['.png', '.jpg', '.jpeg']
- SUPPORTED_VECTOR_FORMATS = ['.shp']
- get(key: str, default: Any = None) Any[source]
Retrieve a configuration value by key.
- Parameters:
key – The configuration key (without prefix).
default – Optional default value if not found in settings or defaults.
- Returns:
The configuration value from settings or its default value.
- get_all_settings() PluginSettings[source]
Load and return all settings as a validated PluginSettings object.