Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SQLAlchemy dialect uses deprecated dbapi() method #11141

@leodrivera

Description

@leodrivera

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

great_expectations/datasource/fluent/sql_datasource.py:1238 SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi(). Implement an import_dbapi() classmethod directly on class <class 'sqlalchemy_redshift.dialect.RedshiftDialect_psycopg2'> to remove this warning; the old .dbapi() classmethod may be maintained for backwards compatibility.
return sa.create_engine(connection_string, **kwargs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions