MatrixSynapse/synapse/util/caches
Richard van der Hoff d9cb658c78
Fix up type hints for Twisted 21.7 (#10490)
Mostly this involves decorating a few Deferred declarations with extra type hints. We wrap the types in quotes to avoid runtime errors when running against older versions of Twisted that don't have generics on Deferred.
2021-07-28 12:04:11 +00:00
..
__init__.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00
cached_call.py improve typing annotations in CachedCall (#10450) 2021-07-28 12:25:12 +01:00
deferred_cache.py Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
descriptors.py Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
dictionary_cache.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00
expiringcache.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00
lrucache.py [pyupgrade] `synapse/` (#10348) 2021-07-19 15:28:05 +01:00
response_cache.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00
stream_change_cache.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00
treecache.py [pyupgrade] `synapse/` (#10348) 2021-07-19 15:28:05 +01:00
ttlcache.py Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2021-07-15 12:46:54 -04:00