dgs.utils.config.load_config¶
- dgs.utils.config.load_config(filepath: str) dict[str, any] [source]¶
Load a config.yaml file as nested dictionary.
- Parameters:
filepath –
Full filepath to the config.yaml file. Path should start at project root or be a “real” system path (object).
It is expected that all the configuration files are stored in the configs folder, but any path is valid.
- Returns:
The loaded configuration as a nested dictionary object.