Skip to content

Commit 27b781f

Browse files
remove redundant schema_bytes from parent constructor
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 5380c7a commit 27b781f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/databricks/sql/cloud_fetch_queue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ class CloudFetchQueue(ResultSetQueue, ABC):
133133

134134
def __init__(
135135
self,
136-
schema_bytes: bytes,
137136
max_download_threads: int,
138137
ssl_options: SSLOptions,
139138
lz4_compressed: bool = True,
@@ -149,7 +148,6 @@ def __init__(
149148
lz4_compressed: Whether the data is LZ4 compressed
150149
description: Column descriptions
151150
"""
152-
self.schema_bytes = schema_bytes
153151
self.lz4_compressed = lz4_compressed
154152
self.description = description
155153
self._ssl_options = ssl_options
@@ -422,13 +420,13 @@ def __init__(
422420
description: Hive table schema description
423421
"""
424422
super().__init__(
425-
schema_bytes=schema_bytes,
426423
max_download_threads=max_download_threads,
427424
ssl_options=ssl_options,
428425
lz4_compressed=lz4_compressed,
429426
description=description,
430427
)
431428

429+
self.schema_bytes = schema_bytes
432430
self.start_row_index = start_row_offset
433431
self.result_links = result_links or []
434432

0 commit comments

Comments
 (0)