mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03:00
690cb4f3b3
* `@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.) |
||
---|---|---|
.. | ||
__init__.py | ||
test_cached_call.py | ||
test_deferred_cache.py | ||
test_descriptors.py | ||
test_response_cache.py | ||
test_ttlcache.py |