

def _end_session_transaction(self, session):
    if (self.mode is _WRITER):
        session.commit()
    elif self.rollback_reader_sessions:
        self.rollback()

dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py _TransactionContext._end_session_transaction/VarMisuse@37/48 `session`->`self`