Skip to content

Commit 665d9aa

Browse files
committed
refactor(cursor, setinputsize): use named arguments
1 parent 374bf77 commit 665d9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redshift_connector/cursor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def __iter__(self: "Cursor") -> "Cursor":
314314
"""
315315
return self
316316

317-
def setinputsizes(self: "Cursor", sizes):
317+
def setinputsizes(self: "Cursor", *sizes):
318318
"""This method is part of the `DBAPI 2.0 specification
319319
<http://www.python.org/dev/peps/pep-0249/>`_, however, it is not
320320
implemented.

0 commit comments

Comments
 (0)