
Our existing `api_version` decorator for microversions forces us to use "# noqa" if we have multiple microversions of a method in the same class, providing no way around this. This patch adds a way to avoid using noqa directive. Previously we would have: @wsgi.Controller.api_version("3.3") def my_api_method(self, req, id): .... method_1 ... @wsgi.Controller.api_version("3.4") # noqa def my_api_method(self, req, id): .... method_2 ... With this patch the second method does not require noqa anymore: @my_api_method.api_version("3.4") def my_api_method(self, req, id): .... method_2 ... Devref is updated to reflect this new change and to mention that it is the recommended way to do it. Change-Id: I46283b52cc6a347d5deb0f57a123eba4e01a3eb2 Closes-Bug: #1599806
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here http://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient
Description
Languages
Python
99.7%
Smarty
0.3%