"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/api/v2/__init__.py" between
cloudkitty-16.0.0.tar.gz and cloudkitty-17.0.0.tar.gz

About: OpenStack CloudKitty provides Rating-as-a-Service for OpenStack.
The "Zed" series (latest release).

__init__.py  (cloudkitty-16.0.0):__init__.py  (cloudkitty-17.0.0)
skipping to change at line 35 skipping to change at line 35
# Name of the resource class # Name of the resource class
voluptuous.Required('resource_class'): str, voluptuous.Required('resource_class'): str,
# Url suffix of this specific resource # Url suffix of this specific resource
voluptuous.Required('url'): str, voluptuous.Required('url'): str,
}) })
API_MODULES = [ API_MODULES = [
'cloudkitty.api.v2.scope', 'cloudkitty.api.v2.scope',
'cloudkitty.api.v2.dataframes', 'cloudkitty.api.v2.dataframes',
'cloudkitty.api.v2.summary', 'cloudkitty.api.v2.summary',
'cloudkitty.api.v2.task' 'cloudkitty.api.v2.task',
'cloudkitty.api.v2.rating',
] ]
def _extend_request_context(): def _extend_request_context():
flask.request.context = context.RequestContext.from_environ( flask.request.context = context.RequestContext.from_environ(
flask.request.environ) flask.request.environ)
def get_api_app(): def get_api_app():
app = flask.Flask(__name__) app = flask.Flask(__name__)
for module_name in API_MODULES: for module_name in API_MODULES:
module = importlib.import_module(module_name) module = importlib.import_module(module_name)
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)