class_docstr: Metadata about a run.
class_docstr_tok: ["Metadata","about","a","run","."]
code: def to_proto(self):
      proto = ProtoRunInfo()
      proto.run_uuid = self.run_uuid
      proto.run_id = self.run_id
      if self.run_name is not None:
          proto.run_name = self.run_name
      proto.experiment_id = self.experiment_id
      proto.user_id = self.user_id
      proto.status = RunStatus.from_string(self.status)
      proto.start_time = self.start_time
      if self.end_time:
          proto.end_time = self.end_time
      if self.artifact_uri:
          proto.artifact_uri = self.artifact_uri
      proto.lifecycle_stage = self.lifecycle_stage
      return proto
  
imports: from mlflow.entities._mlflow_object import _MLflowObject
  from mlflow.entities.lifecycle_stage import LifecycleStage
  from mlflow.entities.run_status import RunStatus
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.protos.service_pb2 import RunInfo
label_desc: Use image node_id 15 for calling the RunInfo obj's underlying member method code with example usage: obj.to_proto() and returns: proto