code: def add_label_fields_to_data(
      self, data: Dict[str, Any]
  ) -> Dict[str, Any]:
      if self.params.label_fields is None:
          return data
      for data_name in self.data_fields:
          for field in self.params.label_fields:
              assert len(data[data_name]) == len(data[field])
              data_with_added_field = []
              for d, field_value in zip(data[data_name], data[field]):
                  data_with_added_field.append(list(d) + [field_value])
              data[data_name] = data_with_added_field
      return data
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from typing import Any, Dict, Optional, Sequence, Tuple
  import numpy
  from .serialization import Serializable
label_desc: Use image node_id 12 for calling the DataProcessor obj's underlying member method code with example usage: obj.add_label_fields_to_data(data) and returns: data, data