code: def test_example_add_new_label_fields(self):
      # Test label field arguments
  
      dataset = foz.load_zoo_dataset(
          "quickstart", max_samples=10
      ).clone()
      view = dataset.take(1)
  
      anno_key = "cvat_new_field"
  
      results = view.annotate(
          anno_key,
          label_field="new_classifications",
          label_type="classifications",
          classes=["dog", "cat", "person"],
      )
      self.assertIsNotNone(dataset.get_annotation_info(anno_key))
  
      with results:
          api = results.connect_to_api()
          task_id = results.task_ids[0]
          _create_annotation(api, task_id, tag="dog")
  
          dataset.load_annotations(anno_key, cleanup=True)
          tags = view.first().new_classifications.classifications
          num_tags = len(tags)
          self.assertEqual(num_tags, 1)
          self.assertEqual(tags[0].label, "dog")
  
          # Test label schema
  
          anno_key = "cvat_new_field_schema"
  
          label_schema = {
              "new_classifications_2": {
                  "type": "classifications",
                  "classes": ["dog", "cat", "person"],
              }
          }
  
          results = view.annotate(anno_key, label_schema=label_schema)
          self.assertIsNotNone(dataset.get_annotation_info(anno_key))
  
      with results:
          api = results.connect_to_api()
          task_id = results.task_ids[0]
          _create_annotation(api, task_id, tag="person")
  
          dataset.load_annotations(anno_key, cleanup=True)
          tags = view.first().new_classifications_2.classifications
          num_tags = len(tags)
          self.assertEqual(num_tags, 1)
          self.assertEqual(tags[0].label, "person")
  
          dataset.load_annotations(anno_key, cleanup=True)
  
imports: from bson import ObjectId
  from collections import defaultdict
  import numpy
  import os
  import unittest
  import eta.core.utils
  import fiftyone
  import fiftyone.utils.cvat
  import fiftyone.zoo
  from fiftyone.core.expressions import ViewField
label_desc: Use image node_id 6 for calling the CVATTests obj's underlying member method code with example usage: obj.test_example_add_new_label_fields() without return types