class_docstr: Run object.
code: def to_proto(self):
      run = ProtoRun()
      run.info.MergeFrom(self.info.to_proto())
      if self.data:
          run.data.MergeFrom(self.data.to_proto())
      if self.inputs:
          run.inputs.MergeFrom(self.inputs.to_proto())
      return run
  
file_path: mlflow/mlflow/entities/run.py
imports: from typing import Any, Dict, Optional
  from mlflow.entities._mlflow_object import _MLflowObject
  from mlflow.entities.run_data import RunData
  from mlflow.entities.run_info import RunInfo
  from mlflow.entities.run_inputs import RunInputs
  from mlflow.exceptions import MlflowException
  from mlflow.protos.service_pb2 import Run
label_desc: Use image node_id 5 for calling the Run obj's underlying member method code with example usage: obj.to_proto() and returns: run