sqlalchemy_singlestoredb.base.SingleStoreDBDialect.import_dbapi¶
- classmethod SingleStoreDBDialect.import_dbapi() Any ¶
Import the DBAPI module that is used by this dialect.
The Python module object returned here will be assigned as an instance variable to a constructed dialect under the name
.dbapi
.Changed in version 2.0: The
Dialect.import_dbapi()
class method is renamed from the previous method.Dialect.dbapi()
, which would be replaced at dialect instantiation time by the DBAPI module itself, thus using the same name in two different ways. If a.Dialect.dbapi()
classmethod is present on a third-party dialect, it will be used and a deprecation warning will be emitted.