aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/insert_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/insert_data.py b/scripts/insert_data.py
index c5879ed..b3e9eea 100644
--- a/scripts/insert_data.py
+++ b/scripts/insert_data.py
@@ -138,7 +138,8 @@ def __format_query__(query, params):
"INSERT INTO ", "INSERT INTO\n\t")
return f"{insert_str}\nVALUES\n\t{values_str};"
-def __xref_params__(dbconn: mdb.Connection, means: list[dict]) -> dict:
+def __xref_params__(
+ dbconn: mdb.Connection, means: tuple[dict, ...]) -> tuple[dict, ...]:
"""Process params for cross-reference table."""
xref_names = tuple({mean["ProbeSetId"] for mean in means})
with dbconn.cursor(cursorclass=DictCursor) as cursor: