Skip to content

Commit 88d8a95

Browse files
committed
sea-migration static type checking fixes
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent e111909 commit 88d8a95

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/databricks/sql/backend/databricks_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ def execute_command(
7979
lz4_compression: bool,
8080
cursor: Cursor,
8181
use_cloud_fetch: bool,
82-
parameters: List[ttypes.TSparkParameter],
82+
parameters: Union[List[ttypes.TSparkParameter], List[Dict[str, Any]]],
8383
async_op: bool,
8484
enforce_embedded_schema_correctness: bool,
85+
row_limit: Optional[int] = None,
8586
) -> Union[ResultSet, None]:
8687
"""
8788
Executes a SQL command or query within the specified session.

src/databricks/sql/backend/thrift_backend.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ def __init__(
240240
def max_download_threads(self) -> int:
241241
return self._max_download_threads
242242

243-
@property
244-
def max_download_threads(self) -> int:
245-
return self._max_download_threads
246-
247243
# TODO: Move this bounding logic into DatabricksRetryPolicy for v3 (PECO-918)
248244
def _initialize_retry_args(self, kwargs):
249245
# Configure retries & timing: use user-settings or defaults, and bound

0 commit comments

Comments
 (0)