getConfig

configdict.configdict.getConfig(name)[source]

Retrieve a previously created ConfigDict.

This will NOT load a saved config since for a ConfigDict to be properly defined a default config must accompany the saved version. In order to load a saved config as default just load it as a normal .yaml or .json file and use that dict as the default.

Parameters:

name (str) – the unique id of the configuration, as passed to ConfigDict

Return type:

Optional[ConfigDict]

Returns:

the ConfigDict, if found. None otherwise.