code: def test_occluded_attr(self):
      dataset = foz.load_zoo_dataset(
          "quickstart", max_samples=1
      ).clone()
  
      anno_key = "cvat_occluded_widget"
  
      # Populate a new `occluded` attribute on the existing `ground_truth` labels
      # using CVAT's occluded widget
      label_schema = {
          "ground_truth": {
              "attributes": {
                  "occluded": {
                      "type": "occluded",
                  }
              }
          }
      }
  
      results = dataset.annotate(
          anno_key, label_schema=label_schema, backend="cvat"
      )
  
      with results:
          api = results.connect_to_api()
          task_id = results.task_ids[0]
          shape_id = dataset.first().ground_truth.detections[0].id
  
          _update_shape(api, task_id, shape_id, occluded=True)
  
          dataset.load_annotations(anno_key, cleanup=True)
  
          id_occ_map = dict(
              zip(
                  *dataset.values(
                      [
                          "ground_truth.detections.id",
                          "ground_truth.detections.occluded",
                      ],
                      unwind=True,
                  )
              )
          )
          self.assertTrue(id_occ_map.pop(shape_id))
          self.assertFalse(any(id_occ_map.values()))
  
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 10 for calling the CVATTests obj's underlying member method code with example usage: obj.test_occluded_attr() without return types