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 Fix typechecking with twisted trunk (#16121) 2023-08-24 14:53:07 +00:00
descriptors.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
dictionary_cache.py Improve type hints for attrs classes (#16276) 2023-09-08 19:29:38 +01:00
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 Improve type hints for attrs classes (#16276) 2023-09-08 19:29:38 +01:00