assets_guardian.core.config.validatorο
Functions
|
Recursively verifies that the raw configuration matches the template. |
- assets_guardian.core.config.validator.validate_config(raw_config: dict[str, Any], template: dict[str, Any], prefix: str = '') None[source]ο
Recursively verifies that the raw configuration matches the template.
- Parameters:
raw_config β Dictionary containing raw configuration data.
template β Dictionary containing the configuration template.
prefix β Prefix for nested keys.
- Raises:
TypeError β If the raw configuration value does not match the expected dict type.
KeyError β If a mandatory configuration key is missing, or if an integration key does not match any plugin available in Assets Guardian.