Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7664e44

Browse files
stronger typing of fetch*_json
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent0b3e91d commit7664e44

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)forrowinrows]
564564

565-
deffetchmany_json(self,size:int):
565+
deffetchmany_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
returnresults
585585

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp