summary refs log tree commit diff
path: root/synapse/storage/databases
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-02-09 09:49:04 -0500
committerGitHub <noreply@github.com>2023-02-09 09:49:04 -0500
commit733531ee3e695da92f10e01b24f62ee35e09e4cd (patch)
tree07488950d1c65406f968ee38c0e384be255eeb57 /synapse/storage/databases
parentProper types for `tests.module_api` (#15031) (diff)
downloadsynapse-733531ee3e695da92f10e01b24f62ee35e09e4cd.tar.xz
Add final type hint to synapse.server. (#15035)
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r--synapse/storage/databases/main/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py
index 1536937b67..cb66376fb4 100644
--- a/synapse/storage/databases/main/events.py
+++ b/synapse/storage/databases/main/events.py
@@ -306,7 +306,7 @@ class PersistEventsStore:
 
         # The set of event_ids to return. This includes all soft-failed events
         # and their prev events.
-        existing_prevs = set()
+        existing_prevs: Set[str] = set()
 
         def _get_prevs_before_rejected_txn(
             txn: LoggingTransaction, batch: Collection[str]