class_docstr: Dataclass containing information about a label assigned to a variant.
  
  Attributes:
    is_confident: bool. True if we could confidently assign a label to this
      variant, False otherwise.
    variant: nucleus.protos.Variant proto that we assigned a label for.
    class_status: string. One of the keys in classes_dict
docstr: Extract class status from nucleus.protos.Variant.info.
  
  Args:
    info_field: INFO field of nucleus.protos.Variant proto to extract the
      classes status from. Must contain `info_field_name` field which is set
      to one of self.classes_dict.keys().
  
  Returns:
    string. Class status. Has to be one of the keys of `classes_dict`.
  
  Raises:
    ValueError: if type is missing in info_field
    ValueError: if type is not in self.classes_dict.keys()
code: def get_class_status(self, info_field):
      """Extract class status from nucleus.protos.Variant.info.
  
      Args:
        info_field: INFO field of nucleus.protos.Variant proto to extract the
          classes status from. Must contain `info_field_name` field which is set
          to one of self.classes_dict.keys().
  
      Returns:
        string. Class status. Has to be one of the keys of `classes_dict`.
  
      Raises:
        ValueError: if type is missing in info_field
        ValueError: if type is not in self.classes_dict.keys()
      """
  
      if self.info_field_name not in info_field.keys():
          raise ValueError(
              "Cannot create class labels: "
              + "VCF file does not contain INFO/{} field".format(
                  self.info_field_name
              )
          )
  
      class_status = struct_utils.get_string_field(
          info_field, self.info_field_name, True
      )
  
      if class_status not in self.classes_dict.keys():
          raise ValueError(
              "class_status status unknown: {}. Known status: {}".format(
                  class_status, self.classes_dict.keys()
              )
          )
      return class_status
  
file_path: deepvariant/deepvariant/labeler/customized_classes_labeler.py
imports: from deepvariant.labeler import positional_labeler
  from deepvariant.labeler import variant_labeler
  from third_party.nucleus.util import struct_utils
label_desc: Use image node_id 3 for calling the CustomizedClassesVariantLabel obj's underlying member method code with example usage: obj.get_class_status(info_field) and returns: class_status