diff --git a/sqlalchemy_redshift/dialect.py b/sqlalchemy_redshift/dialect.py index 0ed5e2d..f44b8a5 100644 --- a/sqlalchemy_redshift/dialect.py +++ b/sqlalchemy_redshift/dialect.py @@ -1222,7 +1222,10 @@ def create_connect_args(self, *args, **kwargs): return cargs, default_args @classmethod - def dbapi(cls): + def import_dbapi(cls): + """ + Import the DBAPI module for this dialect. + """ try: return importlib.import_module(cls.driver) except ImportError: @@ -1305,7 +1308,10 @@ def __init__(self, client_encoding=None, **kwargs): self.client_encoding = client_encoding @classmethod - def dbapi(cls): + def import_dbapi(cls): + """ + Import the DBAPI module for this dialect. + """ try: driver_module = importlib.import_module(cls.driver)