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 to_string(status):
      if status not in RunStatus._STATUS_TO_STRING:
          raise Exception(
              f"Could not get string corresponding to run status {status}. Valid run "
              f"statuses: {list(RunStatus._STATUS_TO_STRING.keys())}"
          )
      return RunStatus._STATUS_TO_STRING[status]
  
imports: from mlflow.protos.service_pb2 import RunStatus
label_desc: Use image node_id 2 for calling the RunStatus obj's underlying member method code with example usage: obj.to_string(status) and returns: RunStatus