delta.config.load_config

delta.config.load_config(json_file: Optional[str] = None, presets: str = '2D', config_level: Optional[str] = None)

Loads json configuration files

Parameters
json_filestr or None, optional

Path to json file containing configuration. If None, load_config will search for local or global config files based on the presets value and config_level. The default is None.

presetsstr, optional

If json_file is None, search for files named ‘config_<presets>.json in the local user folder under .delta and then if not found in the global folder (ie the install folder). The default is ‘2D’.

config_levelstr or None, optional

If ‘local’, look for preset config file in the local user folder under ~/.delta. If ‘global’, look in the delta install folder under assets/config. If None, look under local first and then global. The default is None.

Returns
None.