def transactions(self):
        result = {}
        if len(self.del_obj) > 0:
            result['deleted'] = self.del_obj
        if len(self.new_obj) > 0:
            result['new'] = self.new_obj
        if len(self.upd_obj) > 0:
            result['updated'] = self.upd_obj
        if result == {}:
            return None
        return result
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/EphemeralAbstraction.transactions/original