From 139d8cecdd734a422e7f2d514418c863c1ab178d Mon Sep 17 00:00:00 2001 From: Colin Blackburn Date: Wed, 13 Sep 2023 15:15:19 +0100 Subject: [PATCH] A parameter list is a tuple or dict --- etlhelper/etl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etlhelper/etl.py b/etlhelper/etl.py index 2833c28..7bc30e7 100644 --- a/etlhelper/etl.py +++ b/etlhelper/etl.py @@ -421,7 +421,7 @@ def copy_rows( def execute( query: str, conn: Connection, - parameters: tuple = () + parameters: Union[tuple, dict] = () ) -> None: """ Run SQL query against connection.