gordias.config.get_configuration#
- gordias.config.get_configuration(metadata: dict[str, dict[str, Any]] | None = None) dict[str, Any]#
Construct the configuration from the configuration metadata.
Given a dictionary containing configuration metadata, the corresponding metadata will be used when setting up a dictionary with configuration objects. If no metadata is given the default configuration metadata will be used.
- Parameters:
metadata (dict[str, dict[str, Any]], optional) – A dictionary containing the configuration metadata. If None the default configuration is used.
- Returns:
A dictionary containing the configuration. By default loads the Default configuration-file if no other configuration is provided.
- Return type: