MatrixSynapse/synapse/util/caches
David Robertson 1026776380
mypy plugin to check `@cached` return types (#14911)
Co-authored-by: David Robertson <davidr@element.io>
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Co-authored-by: Erik Johnston <erik@matrix.org>

Assert that the return type of callables wrapped in @cached
and @cachedList are cachable (aka immutable).
2023-10-02 14:22:36 +00:00
..
__init__.py
cached_call.py
deferred_cache.py
descriptors.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
dictionary_cache.py
expiringcache.py Only use literal strings for process names (#16315) 2023-09-15 09:10:24 +01:00
lrucache.py
response_cache.py
stream_change_cache.py
treecache.py
ttlcache.py