code: def _get_field_with_type(
      field_map, field_name, is_single_field, value_type
  ):
      fields = [
          getattr(v, value_type) for v in field_map[field_name].values
      ]
      return fields[0] if is_single_field and fields else fields
  
file_path: deepvariant/third_party/nucleus/util/struct_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import types
  from third_party.nucleus.protos import struct_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _get_field_with_type(field_map, field_name, is_single_field, value_type) and returns: unknown