horizon/horizon/utils
Radomir Dopieralski 3acb28270a Replace @memoized_with_* with @memoized
Since @memoized now uses weakref to delete old cache entries, and no
longer keeps the object passed as parameters alive indefinitely, we
no longer need to treat the Request objects specially. In fact, if
we stop doing it, it should improve memory use, because now all
request-specific caches will be removed as soon as the request
object dies.

I also removed the memoized_with_argconv function, and replaced it
with an explicit function for converting teh parameters in the one
place where it was used.

Change-Id: I710b96a170e429c6ffdf22ad3e552ee6e1c6b7e3
2018-09-25 11:44:06 +02: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 Replace @memoized_with_* with @memoized 2018-09-25 11:44:06 +02: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