diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-04-04 18:54:03 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-04-04 18:54:03 +0100 |
commit | b43d9a920b434180b0ae12516b19d09011f37c59 (patch) | |
tree | 433b52dbae95d608214103ce05a2ffd8a2b51894 | |
parent | Rewrite KeyringTestCase as a HomeServerTestCase (#4986) (diff) | |
download | synapse-b43d9a920b434180b0ae12516b19d09011f37c59.tar.xz |
Fix docstring on get_server_keys_json
-rw-r--r-- | synapse/storage/keys.py | 4 |
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): |