We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0e6f1 commit 9e99253Copy full SHA for 9e99253
src/databricks/sql/client.py
@@ -313,6 +313,11 @@ def get_protocol_version(openSessionResp):
313
"""Delegate to Session class static method"""
314
return Session.get_protocol_version(openSessionResp)
315
316
+ @property
317
+ def open(self) -> bool:
318
+ """Return whether the connection is open by checking if the session is open."""
319
+ return self.session.open
320
+
321
def cursor(
322
self,
323
arraysize: int = DEFAULT_ARRAY_SIZE,
0 commit comments