Skip to content

Commit 9e3e49e

Browse files
committed
Fix type of SnowflakeCursorBase.__iter__
1 parent 58f8c3b commit 9e3e49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snowflake/connector/cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ def reset(self, closing: bool = False) -> None:
16651665
if not self.connection._reuse_results:
16661666
self._result_set = None
16671667

1668-
def __iter__(self) -> Iterator[dict] | Iterator[tuple]:
1668+
def __iter__(self) -> Iterator[FetchRow]:
16691669
"""Iteration over the result set."""
16701670
while True:
16711671
_next = self.fetchone()

0 commit comments

Comments
 (0)