Client.__init__¶
- Client.__init__(config_file: Optional[str] = None, host: Optional[str] = None, port: Optional[int] = None)[source]¶
Initializes the
Clientobject. If aconfig_fileis given, the constructor calls theconfig()method and overrides the default attributes. If the parametershostandportare given, they will override the configuration file.- Parameters
- Raises
configparser.Error – If a configuration file name was given, the method
config()can fail raising this exception.