code: def dummy_parser_all_components():
      class MyParser(Parser):
          def __init__(self):
              record = BaseRecord(
                  (
                      FilepathRecordComponent(),
                      InstancesLabelsRecordComponent(),
                      BBoxesRecordComponent(),
                      InstanceMasksRecordComponent(),
                      KeyPointsRecordComponent(),
                      AreasRecordComponent(),
                      IsCrowdsRecordComponent(),
                  )
              )
              super().__init__(template_record=record)
  
          def __iter__(self) -> Any:
              raise NotImplementedError
  
          def parse_fields(self, o, record: BaseRecord, is_new) -> None:
              record.set_filepath(__file__)
              record.set_img_size(ImgSize(480, 420))
  
              record.detection.set_class_map(ClassMap(["a"]))
              record.detection.add_labels(["a"])
              record.detection.add_bboxes([BBox.from_xyxy(1, 2, 3, 4)])
              record.detection.add_masks(
                  [MaskArray(np.zeros((1, 420, 480)))]
              )
              record.detection.add_keypoints(
                  [KeyPoints((1, 1, 1), None)]
              )
              record.detection.add_areas([4.2])
              record.detection.add_iscrowds([False])
  
      return MyParser
  
label_desc: Use image node_id 1 for calling a global function with example usage: dummy_parser_all_components() and returns: MyParser