Skip to content

SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi() #19

@oldiaz507

Description

@oldiaz507

When creating an engine with this dialect I get this message:

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

For now the connection works.

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