class_docstr: A class representing a combination of Model and Checkpoint.
  
  This class can be fetched using the
  :meth:`model.get_version() <determined.experimental.client.Model.get_version>` method.
  Once a model has been added to the registry, checkpoints can be added to it.
  These registered checkpoints are ModelVersions.
  
  Attributes:
      session: HTTP request session.
      model_version: (int) Version number assigned by the registry, starting from 1 and
          incrementing each time a new model version is registered.
      model_name: (str) Name of the parent model.
      checkpoint: (Mutable, Optional[checkpoint.Checkpoint]) Checkpoint associated with this
          model version.
      model_id: (Mutable, Optional[int]) ID of the parent model.
      metadata: (Mutable, Optional[Dict]) Metadata of this model version.
      name: (Mutable, Optional[str]) Human-friendly name of this model version.
  
  Note:
      All attributes are cached by default.
  
      Mutable properties may be changed by methods that update these values either automatically
      (eg. :meth:`set_name`, :meth:`set_notes`) or explicitly with :meth:`reload`.
class_docstr_tok: ["A","class","representing","a","combination","of","Model","and","Checkpoint",".","This","class","can","be","fetched","using","the",":","meth",":","`","model.get_version","(",")","<","determined.experimental.client.Model.get_version",">","`","method",".","Once","a","model","has","been","added","to","the","registry",",","checkpoints","can","be","added","to","it",".","These","registered","checkpoints","are","ModelVersions",".","Attributes",":","session",":","HTTP","request","session",".","model_version",":","(","int",")","Version","number","assigned","by","the","registry",",","starting","from","1","and","incrementing","each","time","a","new","model","version","is","registered",".","model_name",":","(","str",")","Name","of","the","parent","model",".","checkpoint",":","(","Mutable",",","Optional","[","checkpoint.Checkpoint","]",")","Checkpoint","associated","with","this","model","version",".","model_id",":","(","Mutable",",","Optional","[","int","]",")","ID","of","the","parent","model",".","metadata",":","(","Mutable",",","Optional","[","Dict","]",")","Metadata","of","this","model","version",".","name",":","(","Mutable",",","Optional","[","str","]",")","Human-friendly","name","of","this","model","version",".","Note",":","All","attributes","are","cached","by","default",".","Mutable","properties","may","be","changed","by","methods","that","update","these","values","either","automatically","(","eg",".",":","meth",":","`","set_name","`",",",":","meth",":","`","set_notes","`",")","or","explicitly","with",":","meth",":","`","reload","`","."]
docstr: Sets the human-friendly name for this model version
  
  Arguments:
      name (string): New name for model version
docstr_tok: ["Sets","the","human-friendly","name","for","this","model","version","Arguments",":","name","(","string",")",":","New","name","for","model","version"]
code: def set_name(self, name: str) -> None:
      """
      Sets the human-friendly name for this model version
  
      Arguments:
          name (string): New name for model version
      """
      req = bindings.v1PatchModelVersion(name=name)
      bindings.patch_PatchModelVersion(
          self._session,
          body=req,
          modelName=self.model_name,
          modelVersionNum=self.model_version,
      )
      self.name = name
  
imports: import datetime
  import enum
  import itertools
  import json
  import warnings
  from typing import Any, Dict, Iterable, List, Optional
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.common.experimental import checkpoint, metrics
  from determined.common.experimental._util import OrderBy
label_desc: Use image node_id 2 for calling the ModelVersion obj's underlying member method code with example usage: obj.set_name(name) without return types