CP-2395 More removals

This commit is contained in:
vsc-m 2024-09-26 13:41:50 +01:00
parent b2f6050ed6
commit d1d32568a0
2 changed files with 1 additions and 19 deletions

View File

@ -178,12 +178,6 @@ class ApiClient:
path_params, path_params,
collection_formats 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 # post parameters
if post_params or files: if post_params or files:

View File

@ -220,22 +220,10 @@ class Configuration:
} }
return auth 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 @property
def host(self): def host(self):
"""Return generated host.""" """Return generated host."""
return self.get_host_from_settings(self.server_index, variables={}) return self._base_path
@host.setter @host.setter
def host(self, value): def host(self, value):