Skip to content

Commit ec500b6

Browse files
slightly stronger typing of _convert_json_types
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 7343035 commit ec500b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def _convert_json_to_arrow(self, rows):
510510
names = [col[0] for col in self.description]
511511
return pyarrow.Table.from_arrays(columns, names=names)
512512

513-
def _convert_json_types(self, rows):
513+
def _convert_json_types(self, rows: List) -> List:
514514
"""
515515
Convert raw data rows to Row objects with named columns based on description.
516516
Also converts string values to appropriate Python types based on column metadata.

0 commit comments

Comments
 (0)