Skip to content

Commit bc81eb5

Browse files
committed
prep 2.9.6
Signed-off-by: Ben Cassell <[email protected]>
1 parent 24ac66c commit bc81eb5

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 2.9.6 (2024-04-18)
4+
5+
- Fix: Remove cookie handling code (#379)
6+
37
## 2.9.5 (2024-03-19)
48

59
- Fix: retry-after has a default value of 1 (#371)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databricks-sql-connector"
3-
version = "2.9.5"
3+
version = "2.9.6"
44
description = "Databricks SQL Connector for Python"
55
authors = ["Databricks <[email protected]>"]
66
license = "Apache-2.0"

src/databricks/sql/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def filter(self, record):
3131
)
3232
else:
3333
record.args = tuple(
34-
(self.redact(arg) if isinstance(arg, str) else arg)
35-
for arg in record.args
34+
(self.redact(arg) if isinstance(arg, str) else arg) for arg in record.args
3635
)
3736

3837
return True
@@ -61,7 +60,7 @@ def __repr__(self):
6160
DATE = DBAPITypeObject("date")
6261
ROWID = DBAPITypeObject()
6362

64-
__version__ = "2.9.5"
63+
__version__ = "2.9.6"
6564
USER_AGENT_NAME = "PyDatabricksSqlConnector"
6665

6766
# These two functions are pyhive legacy

src/databricks/sql/auth/thrift_http_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ def flush(self):
189189
self.message = self.__resp.reason
190190
self.headers = self.__resp.headers
191191

192-
# Saves the cookie sent by the server response
193-
if "Set-Cookie" in self.headers:
194-
self.setCustomHeaders(dict("Cookie", self.headers["Set-Cookie"]))
195-
196192
@staticmethod
197193
def basic_proxy_auth_header(proxy):
198194
if proxy is None or not proxy.username:

0 commit comments

Comments
 (0)