code: def parse_fields(self, o, record, is_new):
      if is_new:
          record.set_filepath(self.filepath(o))
          record.set_img_size(self.img_size(o))
  
      # TODO: is class_map still a issue here?
      record.detection.set_class_map(self.class_map)
      record.detection.add_labels_by_id(self.labels_ids(o))
      record.detection.add_areas(self.areas(o))
      record.detection.add_iscrowds(self.iscrowds(o))
  
imports: from icevision.imports import *
  from icevision.core import *
  from icevision.utils import *
  from icevision.parsers import *
label_desc: Use image node_id 12 for calling the COCOBaseParser obj's underlying member method code with example usage: obj.parse_fields(o, record, is_new) without return types