MatrixSynapse/tests/util
Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189)
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key.
* Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity.
* Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
2022-03-09 18:07:41 +00:00
..
caches Allow for ignoring some arguments when caching. (#12189) 2022-03-09 18:07:41 +00:00
__init__.py
test_async_helpers.py
test_batching_queue.py
test_check_dependencies.py
test_dict_cache.py
test_expiring_cache.py
test_file_consumer.py
test_itertools.py
test_linearizer.py
test_logcontext.py
test_logformatter.py
test_lrucache.py
test_ratelimitutils.py
test_retryutils.py
test_rwlock.py
test_stream_change_cache.py
test_stringutils.py
test_threepids.py
test_treecache.py
test_wheel_timer.py