

@classmethod
def from_config(cls, conf, sqlite_fk=False, autocommit=True, expire_on_commit=False):
    'Initialize EngineFacade using oslo.config config instance options.\n\n        :param conf: oslo.config config instance\n        :type conf: oslo_config.cfg.ConfigOpts\n\n        :param sqlite_fk: enable foreign keys in SQLite\n        :type sqlite_fk: bool\n\n        :param autocommit: use autocommit mode for created Session instances\n        :type autocommit: bool\n\n        :param expire_on_commit: expire session objects on commit\n        :type expire_on_commit: bool\n\n        '
    return cls(None, sqlite_fk=sqlite_fk, autocommit=autocommit, expire_on_commit=cls, _conf=conf)

dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py LegacyEngineFacade.from_config/VarMisuse@44/235 `expire_on_commit`->`cls`