We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe539e commit 7bb2635Copy full SHA for 7bb2635
src/databricks/sql/auth/thrift_http_client.py
@@ -115,7 +115,8 @@ def open(self):
115
self.__pool = pool_class(self.host, self.port, **_pool_kwargs)
116
117
def close(self):
118
- self.__resp and self.__resp.drain_conn()
+ # Drain connection does not work in the current version of Python
119
+ #self.__resp and self.__resp.drain_conn()
120
self.__resp and self.__resp.release_conn()
121
self.__resp = None
122
0 commit comments