class_docstr: Enum for status of an :py:class:`mlflow.entities.Run`.
class_docstr_tok: ["Enum","for","status","of","an",":","py",":","class",":","`","mlflow.entities.Run","`","."]
code: def from_string(status_str):
      if status_str not in RunStatus._STRING_TO_STATUS:
          raise Exception(
              f"Could not get run status corresponding to string {status_str}. Valid run "
              f"status strings: {list(RunStatus._STRING_TO_STATUS.keys())}"
          )
      return RunStatus._STRING_TO_STATUS[status_str]
  
imports: from mlflow.protos.service_pb2 import RunStatus
label_desc: Use image node_id 1 for calling the RunStatus obj's underlying member method code with example usage: obj.from_string(status_str) and returns: RunStatus