summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-09 11:35:11 -0400
committerGitHub <noreply@github.com>2020-10-09 11:35:11 -0400
commit1781bbe319ce24e8e468f0422519dc5823d8d420 (patch)
tree07dd536a9cdec4d42b939391b1ff8984e2dff43c /synapse/handlers/sync.py
parentAllow modules to create and send events into rooms (#8479) (diff)
downloadsynapse-1781bbe319ce24e8e468f0422519dc5823d8d420.tar.xz
Add type hints to response cache. (#8507)
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 6fb8332f93..a306631094 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -243,7 +243,9 @@ class SyncHandler:
         self.presence_handler = hs.get_presence_handler()
         self.event_sources = hs.get_event_sources()
         self.clock = hs.get_clock()
-        self.response_cache = ResponseCache(hs, "sync")
+        self.response_cache = ResponseCache(
+            hs, "sync"
+        )  # type: ResponseCache[Tuple[Any, ...]]
         self.state = hs.get_state_handler()
         self.auth = hs.get_auth()
         self.storage = hs.get_storage()