Skip to content

Commit c5faa3f

Browse files
committed
Fix type of SnowflakeCursorBase.__iter__
1 parent 35c03cc commit c5faa3f

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
@@ -1628,7 +1628,7 @@ def reset(self, closing: bool = False) -> None:
16281628
if not self.connection._reuse_results:
16291629
self._result_set = None
16301630

1631-
def __iter__(self) -> Iterator[dict] | Iterator[tuple]:
1631+
def __iter__(self) -> Iterator[FetchRow]:
16321632
"""Iteration over the result set."""
16331633
while True:
16341634
_next = self.fetchone()

0 commit comments

Comments
 (0)