code: def from_string(status_str):
      if status_str not in ModelVersionStatus._STRING_TO_STATUS:
          raise Exception(
              f"Could not get model version status corresponding to string {status_str}. "
              f"Valid status strings: {list(ModelVersionStatus._STRING_TO_STATUS.keys())}"
          )
      return ModelVersionStatus._STRING_TO_STATUS[status_str]
  
imports: from mlflow.protos.model_registry_pb2 import ModelVersionStatus
label_desc: Use image node_id 1 for calling the ModelVersionStatus obj's underlying member method code with example usage: obj.from_string(status_str) and returns: ModelVersionStatus