data0.config

Functions

get_config(config_file)

Load the configuration from a JSON file.

Module Contents

data0.config.get_config(config_file)

Load the configuration from a JSON file.

Parameters:

config_file (str or dict) – The name or path to the configuration JSON file, or a dictionary in the format of a configuration file.

Returns:

config_dict – The configuration as a dictionary.

Return type:

dict