code: def to_proto(self):
      credential = ProtoMultipartUploadCredential()
      credential.url = self.url
      credential.part_number = self.part_number
      credential.headers.update(self.headers)
      return credential
  
file_path: mlflow/mlflow/entities/multipart_upload.py
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Optional
  from mlflow.protos.mlflow_artifacts_pb2 import CreateMultipartUpload
  from mlflow.protos.mlflow_artifacts_pb2 import MultipartUploadCredential
label_desc: Use image node_id 1 for calling the MultipartUploadCredential obj's underlying member method code with example usage: obj.to_proto() and returns: credential