Database.config

Database.config(config_file: str = '/home/docs/checkouts/readthedocs.org/user_builds/lab-utils/envs/v0.3.0/lib/python3.7/site-packages/lab_utils/conf/database.ini')[source]

Loads the configuration.

Reads the config_file using the configparser library. The structure of the file is shown in the examples section.

Parameters

config_file (str, optional) – Configuration file name, default is ‘conf/database.ini’

Raises

configparser.Error – Error while parsing the file, e.g. no file was found, a parameter is missing or it has an invalid value.