diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-05-24 15:32:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 15:32:01 -0400 |
commit | 7adcb20fc02d614b4a2b03b128b279f25633e2bd (patch) | |
tree | 00bfca91a453c3611274f28a27d58b979ad9f104 /synapse/storage/databases/main/keys.py | |
parent | Fix docker image to not log at `/homeserver.log` (#10045) (diff) | |
download | synapse-7adcb20fc02d614b4a2b03b128b279f25633e2bd.tar.xz |
Add missing type hints to synapse.util (#9982)
Diffstat (limited to 'synapse/storage/databases/main/keys.py')
-rw-r--r-- | synapse/storage/databases/main/keys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/keys.py b/synapse/storage/databases/main/keys.py index 0e86807834..6990f3ed1d 100644 --- a/synapse/storage/databases/main/keys.py +++ b/synapse/storage/databases/main/keys.py @@ -55,7 +55,7 @@ class KeyStore(SQLBaseStore): """ keys = {} - def _get_keys(txn: Cursor, batch: Tuple[Tuple[str, str]]) -> None: + def _get_keys(txn: Cursor, batch: Tuple[Tuple[str, str], ...]) -> None: """Processes a batch of keys to fetch, and adds the result to `keys`.""" # batch_iter always returns tuples so it's safe to do len(batch) |