def add_snapshot_part(self, identifier, dump, load):
    self._snapshot_parts[identifier] = (dump, load)
def add_snapshot_part(self, identifier, dump, load):
    self._snapshot_parts[identifier] = (dump, load)