def get_engine(self, use_slave=False):
        self._check_factory_started()
        if use_slave:
            return self._factory._reader_engine
        else:
            return self._factory._writer_engine
Get the engine instance (note, that it's shared).
dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py/LegacyEngineFacade.get_engine