Skip to content

Commit 2485a22

Browse files
committed
fixed format
1 parent 6c82980 commit 2485a22

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/databricks/sql/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ def read(self) -> Optional[OAuthToken]:
214214
# use_cloud_fetch
215215
# Enable use of cloud fetch to extract large query results in parallel via cloud storage
216216

217-
logger.debug(f"Connection.__init__(server_hostname={server_hostname}, http_path={http_path})")
217+
logger.debug(
218+
f"Connection.__init__(server_hostname={server_hostname}, http_path={http_path})"
219+
)
218220

219221
if access_token:
220222
access_token_kv = {"access_token": access_token}

src/databricks/sql/thrift_backend.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ def __init__(
131131
# max_download_threads
132132
# Number of threads for handling cloud fetch downloads. Defaults to 10
133133

134-
logger.debug(f"ThriftBackend.__init__(server_hostname={server_hostname}, port={port}, http_path={http_path})")
134+
logger.debug(
135+
f"ThriftBackend.__init__(server_hostname={server_hostname}, port={port}, http_path={http_path})"
136+
)
135137

136138
port = port or 443
137139
if kwargs.get("_connection_uri"):
@@ -894,7 +896,10 @@ def execute_command(
894896
):
895897
assert session_handle is not None
896898

897-
logger.debug(f"ThriftBackend.execute_command(operation={operation}, session_handle={session_handle})")
899+
logger.debug(
900+
f"ThriftBackend.execute_command(operation={operation}, session_handle={session_handle})"
901+
)
902+
898903
spark_arrow_types = ttypes.TSparkArrowTypes(
899904
timestampAsArrow=self._use_arrow_native_timestamps,
900905
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)