Remove set_default_params method from client.py 34/14434/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 17 Jun 2024 10:14:30 +0000 (12:14 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 19 Jun 2024 12:57:13 +0000 (14:57 +0200)
Change-Id: I2da0e9f5e182870af1ca5c6eb583895e162f6db2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/sol005/client.py

index 5146fe2..cd67a87 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)