Skip to content

Commit 7664e44

Browse files
stronger typing of fetch*_json
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 0b3e91d commit 7664e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/sql/result_set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def _create_json_table(self, rows: List) -> List[Row]:
562562

563563
return [ResultRow(*row) for row in rows]
564564

565-
def fetchmany_json(self, size: int):
565+
def fetchmany_json(self, size: int) -> List:
566566
"""
567567
Fetch the next set of rows as a columnar table.
568568
@@ -583,7 +583,7 @@ def fetchmany_json(self, size: int):
583583

584584
return results
585585

586-
def fetchall_json(self):
586+
def fetchall_json(self) -> List:
587587
"""
588588
Fetch all remaining rows as a columnar table.
589589

0 commit comments

Comments
 (0)