summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-04-04 18:54:03 +0100
committerRichard van der Hoff <richard@matrix.org>2019-04-04 18:54:03 +0100
commitb43d9a920b434180b0ae12516b19d09011f37c59 (patch)
tree433b52dbae95d608214103ce05a2ffd8a2b51894 /synapse/storage/keys.py
parentRewrite KeyringTestCase as a HomeServerTestCase (#4986) (diff)
downloadsynapse-b43d9a920b434180b0ae12516b19d09011f37c59.tar.xz
Fix docstring on get_server_keys_json
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index 030cd1e5a3..f24ab3eedd 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -188,8 +188,8 @@ class KeyStore(SQLBaseStore):
         Args:
             server_keys (list): List of (server_name, key_id, source) triplets.
         Returns:
-            Dict mapping (server_name, key_id, source) triplets to dicts with
-            "ts_valid_until_ms" and "key_json" keys.
+            Deferred[dict[Tuple[str, str, str|None], list[dict]]]:
+                Dict mapping (server_name, key_id, source) triplets to lists of dicts
         """
 
         def _get_server_keys_json_txn(txn):