def _update_object(self, underlying):
        if underlying['id'] in self.del_obj:
            return None

        if not underlying['id'] in self.upd_obj:
            return underlying

        updated_object = copy.deepcopy(underlying)
        updated_object.update(self.upd_obj[underlying['id']])
        return updated_object
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/EphemeralAbstraction._update_object/original