Skip to content

TypeError: Retry.__init__() got an unexpected keyword argument 'backoff_max' #411

Description

@rth

In the latest version on main there seem to be a regression, where,

importosfromdatabricksimportsqlasdatabricks_sqldb=databricks_sql.connect(
server_hostname=os.getenv("DATABRICKS_SERVER_HOSTNAME"),
http_path=os.getenv("DATABRICKS_HTTP_PATH"),
access_token=os.getenv("DATABRICKS_TOKEN"),
)

Produces

Traceback (mostrecentcalllast):
File"", line8, inmaindb=databricks_sql.connect(
File"databricks/sql/__init__.py", line88, inconnectfrom .clientimportConnectionFile"databricks/sql/client.py", line19, in<module>fromdatabricks.sql.thrift_backendimportThriftBackendFile"databricks/sql/thrift_backend.py", line29, in<module>fromdatabricks.sql.utilsimport (
File"databricks/sql/utils.py", line17, in<module>fromdatabricks.sql.cloudfetch.download_managerimportResultFileDownloadManagerFile"databricks/sql/cloudfetch/download_manager.py", line6, in<module>fromdatabricks.sql.cloudfetch.downloaderimport (
File"databricks/sql/cloudfetch/downloader.py", line17, in<module>retryPolicy=Retry(
TypeError: Retry.__init__() gotanunexpectedkeywordargument'backoff_max'

Possibly introduced by 185ff3c cc @kravets-levko

I was trying to test it would help for #383

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions