Client.config

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

Loads the configuration from a file.

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

Parameters

config_file (str, optional) – TODO

Raises

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