horizon/horizon/utils
Akihiro Motoki d68447452c Avoid UnhashableKeyWarning in api.nova.novaclient
In python3, novaclient APIVersion instance is not hashable.
If APIVersion insstance is passed to novaclient(),
UnhashableKeyWarning will be emitted.
An error message on UnhashableKeyWarning is emitted repeatedly
and this can pollute error log with unuseful messages.

To convert all unhashable arguments into hashable variables,
a new decorator memoized_with_argconv is introduced.
This decorator takes a converter function.

Change-Id: I773355b9332b3b195576b51cc81eda80aa4402ed
Closes-Bug: #1790929
2018-09-08 18:39:08 +00:00
..
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
babel_extract_angular.py Make babel_extract_angular work with python 3 2018-04-11 19:43:30 +09:00
csvbase.py Switch render() arguments to the new way 2017-06-21 19:32:03 +00:00
escape.py Escape angularjs templating in unsafe HTML 2016-06-15 11:03:01 -04:00
file_discovery.py Fix W503 warnings 2018-04-11 18:13:47 +09:00
filters.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
functions.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
html.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
lazy_encoder.py Translate status in network topology 2016-01-18 13:19:20 +00:00
memoized.py Avoid UnhashableKeyWarning in api.nova.novaclient 2018-09-08 18:39:08 +00:00
scss_filter.py SCSS $webroot should inherit from settings.py 2015-08-15 08:05:24 -07:00
secret_key.py Clarify message if key file has wrong permissions 2017-03-09 15:45:12 +00:00
settings.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
units.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
validators.py Allow any port or protocol in security group rules 2017-03-29 04:53:02 +00:00