class_docstr: Enum to filter requested experiment types.
class_docstr_tok: ["Enum","to","filter","requested","experiment","types","."]
code: def from_string(cls, view_str):
      if view_str not in cls._STRING_TO_VIEW:
          raise Exception(
              f"Could not get valid view type corresponding to string {view_str}. "
              f"Valid view types are {list(cls._STRING_TO_VIEW.keys())}"
          )
      return cls._STRING_TO_VIEW[view_str]
  
imports: from mlflow.protos import service_pb2
label_desc: Use image node_id 1 for calling the ViewType obj's underlying member method code with example usage: obj.from_string(cls, view_str) and returns: cls