class_docstr: Encodes a diff -- analogous to the SummaryRecord protobuf message.
code: def _add_next_parent(self, parent_key):
      with_next_parent = SummaryRecord()
      with_next_parent.update = [
          item._add_next_parent(parent_key) for item in self.update
      ]
      with_next_parent.remove = [
          item._add_next_parent(parent_key) for item in self.remove
      ]
  
      return with_next_parent
  
file_path: wandb/wandb/sdk/interface/summary_record.py
imports: import typing
label_desc: Use image node_id 3 for calling the SummaryRecord obj's underlying member method code with example usage: obj._add_next_parent(parent_key) and returns: with_next_parent