diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-20 15:34:35 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-21 13:27:50 +0000 |
commit | 64778693be0c6be4c36e02fc58200ecfb27533a4 (patch) | |
tree | 6b58c741c6e391f9a747ead7c1e917bded9a28ed /synapse/storage | |
parent | Merge pull request #2033 from matrix-org/erikj/repl_speed (diff) | |
download | synapse-64778693be0c6be4c36e02fc58200ecfb27533a4.tar.xz |
fix up some key verif docstrings
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/keys.py | 5 |
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: |