Client.__init__¶
-
Client.
__init__
(config_file: str = None, host: str = None, port: int = None)[source]¶ Initializes the
Client
object. If aconfig_file
is given, the constructor calls theconfig()
method and overrides the default attributes. If the parametershost
andport
are 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.