Skip to content

Commit

Permalink
bump to 3.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Cassell <ben.cassell@databricks.com>
  • Loading branch information
benc-db committed Mar 19, 2024
1 parent 1d4da9a commit b86b538
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

# x.x.x (TBD)

- Don't retry requests that fail with code 403
# 3.1.1 (2024-03-19)

- Don't retry requests that fail with code 403 (#373)
- Assume a default retry-after for 429/503 (#371)
- Fix boolean literals (#357)

# 3.1.0 (2024-02-16)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databricks-sql-connector"
version = "3.1.0"
version = "3.1.1"
description = "Databricks SQL Connector for Python"
authors = ["Databricks <databricks-sql-connector-maintainers@databricks.com>"]
license = "Apache-2.0"
Expand Down
5 changes: 2 additions & 3 deletions src/databricks/sql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def filter(self, record):
)
else:
record.args = tuple(
(self.redact(arg) if isinstance(arg, str) else arg)
for arg in record.args
(self.redact(arg) if isinstance(arg, str) else arg) for arg in record.args
)

return True
Expand Down Expand Up @@ -62,7 +61,7 @@ def __repr__(self):
DATE = DBAPITypeObject("date")
ROWID = DBAPITypeObject()

__version__ = "3.1.0"
__version__ = "3.1.1"
USER_AGENT_NAME = "PyDatabricksSqlConnector"

# These two functions are pyhive legacy
Expand Down

0 comments on commit b86b538

Please sign in to comment.