Remove set_default_params method from client.py 26/14426/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 17 Jun 2024 10:14:30 +0000 (12:14 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 17 Jun 2024 10:26:52 +0000 (12:26 +0200)
Change-Id: I2da0e9f5e182870af1ca5c6eb583895e162f6db2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/sol005/client.py

index a106c49..be11dd1 100644 (file)
@@ -147,12 +147,3 @@ class Client(object):
             version = resp.split()[2]
             date = resp.split()[4]
         return "{} {}".format(version, date)
-
-    def set_default_params(self, **kwargs):
-        host = kwargs.pop("host", None)
-        if host is not None:
-            self._host = host
-        port = kwargs.pop("port", None)
-        if port is not None:
-            self._so_port = port
-        self._http_client.set_query_admin(**kwargs)