summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-03-20 15:34:35 +0000
committerRichard van der Hoff <richard@matrix.org>2017-03-21 13:27:50 +0000
commit64778693be0c6be4c36e02fc58200ecfb27533a4 (patch)
tree6b58c741c6e391f9a747ead7c1e917bded9a28ed /synapse/storage/keys.py
parentMerge pull request #2033 from matrix-org/erikj/repl_speed (diff)
downloadsynapse-64778693be0c6be4c36e02fc58200ecfb27533a4.tar.xz
fix up some key verif docstrings
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index 86b37b9ddd..3b5e0a4fb9 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -101,9 +101,10 @@ class KeyStore(SQLBaseStore):
         key_ids
         Args:
             server_name (str): The name of the server.
-            key_ids (list of str): List of key_ids to try and look up.
+            key_ids (iterable[str]): key_ids to try and look up.
         Returns:
-            (list of VerifyKey): The verification keys.
+            Deferred: resolves to dict[str, VerifyKey]: map from
+               key_id to verification key.
         """
         keys = {}
         for key_id in key_ids: