mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-25 19:56:50 +00:00
Compare commits
2 Commits
b2f6050ed6
...
a4c6de9202
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4c6de9202 | ||
|
|
d1d32568a0 |
@ -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):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user