summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-02-19 15:13:51 +0000
committerErik Johnston <erik@matrix.org>2020-02-19 15:13:51 +0000
commitcb8fdfdf1c2da73d593c32cf0b2df132a1bc9b6b (patch)
tree65dd2a82d1a249a82ac67a726049a46c53392b58
parentNewsfile (diff)
downloadsynapse-cb8fdfdf1c2da73d593c32cf0b2df132a1bc9b6b.tar.xz
Mark make_in_list_sql_clause as returning a list
-rw-r--r--synapse/storage/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index 3eeb2f7c04..6dcb5c04da 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -1504,7 +1504,7 @@ class Database(object):
 
 def make_in_list_sql_clause(
     database_engine, column: str, iterable: Iterable
-) -> Tuple[str, Iterable]:
+) -> Tuple[str, list]:
     """Returns an SQL clause that checks the given column is in the iterable.
 
     On SQLite this expands to `column IN (?, ?, ...)`, whereas on Postgres