diff options
author | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-06-27 08:58:38 +0900 |
---|---|---|
committer | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-07-04 04:06:42 +0000 |
commit | 81ec72ecf8c32b409afedc60e013f9b4c47d5bae (patch) | |
tree | 507d2bdd269091e51d2537fd21e23bf64556b4ad /novaclient/client.py | |
parent | 66611f26d33a5883d1f261b6c8c4f46bf3fdbf92 (diff) | |
download | python-novaclient-81ec72ecf8c32b409afedc60e013f9b4c47d5bae.tar.gz |
Remove deprecated methods and properties
Remove deprecated methods, properties and unused classes.
Change-Id: I16e0b6e55a9c9da04c4582f9be672018d37bf368
Diffstat (limited to 'novaclient/client.py')
-rw-r--r-- | novaclient/client.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/novaclient/client.py b/novaclient/client.py index 2808428e..4b3e2281 100644 --- a/novaclient/client.py +++ b/novaclient/client.py @@ -85,21 +85,6 @@ class SessionClient(adapter.LegacyJsonAdapter): def reset_timings(self): self.times = [] - @property - def management_url(self): - self.logger.warning( - _("Property `management_url` is deprecated for SessionClient. " - "Use `endpoint_override` instead.")) - return self.endpoint_override - - @management_url.setter - def management_url(self, value): - self.logger.warning( - _("Property `management_url` is deprecated for SessionClient. " - "It should be set via `endpoint_override` variable while class" - " initialization.")) - self.endpoint_override = value - def _construct_http_client(api_version=None, auth=None, @@ -211,14 +196,6 @@ def _get_client_class_and_version(version): "novaclient.v%s.client.Client" % version.ver_major) -def get_client_class(version): - """Returns Client class based on given version.""" - warnings.warn(_("'get_client_class' is deprecated. " - "Please use `novaclient.client.Client` instead.")) - _api_version, client_class = _get_client_class_and_version(version) - return client_class - - def _check_arguments(kwargs, release, deprecated_name, right_name=None): """Process deprecation of arguments. |