Skip to content

Commit 2938c18

Browse files
fix type issues
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 206eb0a commit 2938c18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/sql/session.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,13 @@ def _create_backend(
9393
http_path: str,
9494
all_headers: List[Tuple[str, str]],
9595
auth_provider,
96-
_use_arrow_native_complex_types: bool,
96+
_use_arrow_native_complex_types: Optional[bool],
9797
kwargs: dict,
9898
) -> DatabricksClient:
9999
"""Create and return the appropriate backend client."""
100100
use_sea = kwargs.get("use_sea", False)
101101

102+
databricks_client_class: Type[DatabricksClient]
102103
if use_sea:
103104
logger.debug("Creating SEA backend client")
104105
databricks_client_class = SeaDatabricksClient

0 commit comments

Comments
 (0)