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 libraryconfigparser
. 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.