DictLikeLoaderMixin#
- class DictLikeLoaderMixin(app, log=None)#
Bases:
ConfigLoaderLoad a configuration from a mapping.
As there are no way to differentiate between a mapping for a dictionary trait and one for a nested section, we need to check the existing keys before resolving. We only look for existing subsections and aliases, otherwise we assume this is a dict-like value.
- Parameters:
app (Application)
log (Logger | None)
- resolve_mapping(input, origin=None)#
Flatten an input nested mapping.
- Parameters:
- Return type: