diff options
author | David Robertson <davidr@element.io> | 2022-09-30 17:36:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 17:36:28 +0100 |
commit | 285d72556bb3c36f075b336b2bdd6acb08391ad5 (patch) | |
tree | cfb2d30a94b8813e84bc47dc21ed6961ae992e84 /synapse/storage/databases | |
parent | Revert "Update mypy and mypy-zope (#13925)" (diff) | |
download | synapse-285d72556bb3c36f075b336b2bdd6acb08391ad5.tar.xz |
Update mypy and mypy-zope, attempt 3 (#13993)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/search.py b/synapse/storage/databases/main/search.py index f6e24b68d2..1b79acf955 100644 --- a/synapse/storage/databases/main/search.py +++ b/synapse/storage/databases/main/search.py @@ -641,7 +641,7 @@ class SearchStore(SearchBackgroundUpdateStore): raise Exception("Unrecognized database engine") # mypy expects to append only a `str`, not an `int` - args.append(limit) # type: ignore[arg-type] + args.append(limit) results = await self.db_pool.execute( "search_rooms", self.db_pool.cursor_to_dict, sql, *args |