From 665d9aac850bebf090acf21c67d5549f8c1870e0 Mon Sep 17 00:00:00 2001 From: Brooke White Date: Mon, 10 May 2021 09:12:41 -0700 Subject: [PATCH] refactor(cursor, setinputsize): use named arguments --- redshift_connector/cursor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redshift_connector/cursor.py b/redshift_connector/cursor.py index 3d00d92..3f671be 100644 --- a/redshift_connector/cursor.py +++ b/redshift_connector/cursor.py @@ -314,7 +314,7 @@ def __iter__(self: "Cursor") -> "Cursor": """ return self - def setinputsizes(self: "Cursor", sizes): + def setinputsizes(self: "Cursor", *sizes): """This method is part of the `DBAPI 2.0 specification `_, however, it is not implemented.