Skip to content

Commit

Permalink
Fix Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Nov 22, 2024
1 parent a82d028 commit 0f1ae8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chdb/state/sqlitelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def fetchone(self) -> Optional[tuple]:
self._current_row += 1
return tuple(row_dict.values())

def fetchmany(self, size: int = 1) -> tuple[tuple]:
def fetchmany(self, size: int = 1) -> tuple:
if not self._current_table:
return tuple()

Expand All @@ -78,7 +78,7 @@ def fetchmany(self, size: int = 1) -> tuple[tuple]:
rows.append(row)
return tuple(rows)

def fetchall(self) -> tuple[tuple]:
def fetchall(self) -> tuple:
if not self._current_table:
return tuple()

Expand Down

0 comments on commit 0f1ae8c

Please sign in to comment.