-
Notifications
You must be signed in to change notification settings - Fork 140
Unexpected argument backoff_max with databricks-sql-connector 2.9.2 #205
Copy link
Copy link
Closed
Description
Hello,
Release note says "databricks-sql-connector 2.9.2 is compatible with urllib3>=1.0.0", but it still pass backoff_max argument, which was introduced from urllib3 2.0.0 (ref: https://github.com/urllib3/urllib3/blob/6446fef0cf432ca035169602a1447a0d8ef53e80/src/urllib3/util/retry.py#L209)
return sql.connect(
File "/usr/local/lib/python3.10/site-packages/databricks/sql/__init__.py", line 50, in connect
return Connection(server_hostname, http_path, access_token, **kwargs)
File "/usr/local/lib/python3.10/site-packages/databricks/sql/client.py", line 186, in __init__
self.thrift_backend = ThriftBackend(
File "/usr/local/lib/python3.10/site-packages/databricks/sql/thrift_backend.py", line 189, in __init__
self.retry_policy = databricks.sql.auth.thrift_http_client.DatabricksRetryPolicy(
File "/usr/local/lib/python3.10/site-packages/databricks/sql/auth/retry.py", line 132, in __init__
super().__init__(
TypeError: Retry.__init__() got an unexpected keyword argument 'backoff_max'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels