Skip to content

SQLAlchemy dialect uses deprecated dbapi() method #289

Description

@nchammas

Minor issue, but it appears that this library is using a deprecated method from SQLAlchemy:

SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi().  
Implement an import_dbapi() classmethod directly on class <class 'databricks.sqlalchemy.base.DatabricksDialect'> 
to remove this warning; the old .dbapi() classmethod may be maintained for backwards compatibility.
  engine = create_engine(

Installed:

  • sqlalchemy 2.0.23
  • databricks-sql-connector 3.0.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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