Skip to content

Commit

Permalink
A parameter list is a tuple or dict
Browse files Browse the repository at this point in the history
  • Loading branch information
ximenesuk committed Sep 13, 2023
1 parent 0e7acc9 commit 139d8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etlhelper/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 139d8ce

Please sign in to comment.