class_docstr: A utility for finding the names of enum values.
docstr: Returns the value corresponding to the given enum name.
docstr_tok: ["Returns","the","value","corresponding","to","the","given","enum","name","."]
code: def Value(self, name):  # pylint: disable=invalid-name
      """Returns the value corresponding to the given enum name."""
      try:
          return self._enum_type.values_by_name[name].number
      except KeyError:
          pass  # fall out to break exception chaining
      raise ValueError(
          "Enum {} has no value defined for name {!r}".format(
              self._enum_type.name, name
          )
      )
  
file_path: catboost/contrib/python/protobuf/py3/google/protobuf/internal/enum_type_wrapper.py
label_desc: Use image node_id 3 for calling the EnumTypeWrapper obj's underlying member method code with example usage: obj.Value(name) and returns: self