mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
CP-2395 Fix build
This commit is contained in:
parent
6725b761e1
commit
b2f6050ed6
@ -182,7 +182,7 @@ class ApiClient:
|
|||||||
# specified safe chars, encode everything
|
# specified safe chars, encode everything
|
||||||
resource_path = resource_path.replace(
|
resource_path = resource_path.replace(
|
||||||
'{%s}' % k,
|
'{%s}' % k,
|
||||||
quote(str(v), safe=''
|
quote(str(v), safe='')
|
||||||
)
|
)
|
||||||
|
|
||||||
# post parameters
|
# post parameters
|
||||||
|
|||||||
@ -232,6 +232,11 @@ class Configuration:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def host(self):
|
||||||
|
"""Return generated host."""
|
||||||
|
return self.get_host_from_settings(self.server_index, variables={})
|
||||||
|
|
||||||
@host.setter
|
@host.setter
|
||||||
def host(self, value):
|
def host(self, value):
|
||||||
"""Fix base path."""
|
"""Fix base path."""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user