sqlalchemy_singlestoredb.base.SingleStoreDBDialect.initialize

SingleStoreDBDialect.initialize(connection: Any) Any

Called during strategized creation of the dialect with a connection.

Allows dialects to configure options based on server version info or other properties.

The connection passed here is a SQLAlchemy Connection object, with full capabilities.

The initialize() method of the base dialect should be called via super().

Note

as of SQLAlchemy 1.4, this method is called before any _engine.Dialect.on_connect() hooks are called.