diff --git a/thousandeyes-sdk-core/src/thousandeyes_sdk/core/api_client.py b/thousandeyes-sdk-core/src/thousandeyes_sdk/core/api_client.py index 6e640896..3c65d8dd 100644 --- a/thousandeyes-sdk-core/src/thousandeyes_sdk/core/api_client.py +++ b/thousandeyes-sdk-core/src/thousandeyes_sdk/core/api_client.py @@ -178,12 +178,6 @@ class ApiClient: path_params, collection_formats ) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe='') - ) # post parameters if post_params or files: diff --git a/thousandeyes-sdk-core/src/thousandeyes_sdk/core/configuration.py b/thousandeyes-sdk-core/src/thousandeyes_sdk/core/configuration.py index 637b9b81..2a610fba 100644 --- a/thousandeyes-sdk-core/src/thousandeyes_sdk/core/configuration.py +++ b/thousandeyes-sdk-core/src/thousandeyes_sdk/core/configuration.py @@ -220,22 +220,10 @@ class Configuration: } return auth - def get_host_settings(self): - """Gets an array of host settings - - :return: An array of host settings - """ - return [ - { - 'url': "https://api.thousandeyes.com", - 'description': "ThousandEyes API production URL", - } - ] - @property def host(self): """Return generated host.""" - return self.get_host_from_settings(self.server_index, variables={}) + return self._base_path @host.setter def host(self, value):