def close(self):
        self.expunge_all()
        if self.transaction is not None:
            for transaction in self.transaction._iterate_parents():
                transaction.close()
Returns N lists of records.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/session.py/Session.close--crossover with--dataset/ETHPy150Open tanghaibao/jcvi/formats/base.py/FileSplitter._batch_iterator