Skip to content

Commit 8b8c579

Browse files
Gustavsnowman2
andauthored
Update src/databricks/sql/client.py
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
1 parent 439fbd4 commit 8b8c579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def read(self) -> Optional[OAuthToken]:
252252
access_token_kv = {"access_token": access_token}
253253
kwargs = {**kwargs, **access_token_kv}
254254

255-
self.disable_pandas = kwargs.get("_disable_pandas", False)
255+
self.disable_pandas = False if pandas is None else kwargs.get("_disable_pandas", False)
256256
self.lz4_compression = kwargs.get("enable_query_result_lz4_compression", True)
257257
self.use_cloud_fetch = kwargs.get("use_cloud_fetch", True)
258258
self._cursors = [] # type: List[Cursor]

0 commit comments

Comments
 (0)