Database.config¶
- Database.config(config_file: str)[source]¶
Loads the configuration.
Reads the
config_fileusing theconfigparserlibrary. The structure of the file is shown in the examples section.- Parameters
- Raises
configparser.Error – Error while parsing the file, e.g. no file was found, a parameter is missing or it has an invalid value.