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 e863ac3 commit 83fb269Copy full SHA for 83fb269
src/databricks/sql/session.py
@@ -136,7 +136,7 @@ def get_session_id_hex(self):
136
def close(self) -> None:
137
"""Close the underlying session."""
138
logger.info(f"Closing session {self.get_session_id_hex()}")
139
- if not self.open:
+ if not self.is_open:
140
logger.debug("Session appears to have been closed already")
141
return
142
0 commit comments