mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
CP-2395 More removals
This commit is contained in:
parent
b2f6050ed6
commit
d1d32568a0
@ -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:
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user