mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-25 18:35:30 +00:00
Compare commits
No commits in common. "a4c6de92026ff38342e61bf8654c51cb2396a172" and "b2f6050ed6bd58122a71b1a6bf0de4c2fec0d513" have entirely different histories.
a4c6de9202
...
b2f6050ed6
@ -220,10 +220,22 @@ 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._base_path
|
return self.get_host_from_settings(self.server_index, variables={})
|
||||||
|
|
||||||
@host.setter
|
@host.setter
|
||||||
def host(self, value):
|
def host(self, value):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user