Module pydbsmgr.utils.config

Functions

def load_config(config_file)

Load the configuration file.

Parameters

config_file : str
The path to the configuration file.

Returns

config : ConfigParser
A configuration object loaded from file.
def parse_config(config)

Parse the configuration file.

Parameters

config : ConfigParser
A configuration object loaded from file.

Returns

parsed_config : dict
A dictionary of parsed configuration values.