class_docstr: Client of an MLflow Model Registry Server that creates and manages registered
  models and model versions.
docstr: Create a new model version from given source.
  
  :param name: Name of the containing registered model.
  :param source: URI indicating the location of the model artifacts.
  :param run_id: Run ID from MLflow tracking server that generated the model.
  :param tags: A dictionary of key-value pairs that are converted into
               :py:class:`mlflow.entities.model_registry.ModelVersionTag` objects.
  :param run_link: Link to the run from an MLflow tracking server that generated this model.
  :param description: Description of the version.
  :param await_creation_for: Number of seconds to wait for the model version to finish being
                              created and is in ``READY`` status. By default, the function
                              waits for five minutes. Specify 0 or None to skip waiting.
  :return: Single :py:class:`mlflow.entities.model_registry.ModelVersion` object created by
           backend.
docstr_tok: ["Create","a","new","model","version","from","given","source",".",":","param","name",":","Name","of","the","containing","registered","model",".",":","param","source",":","URI","indicating","the","location","of","the","model","artifacts",".",":","param","run_id",":","Run","ID","from","MLflow","tracking","server","that","generated","the","model",".",":","param","tags",":","A","dictionary","of","key-value","pairs","that","are","converted","into",":","py",":","class",":","`","mlflow.entities.model_registry.ModelVersionTag","`","objects",".",":","param","run_link",":","Link","to","the","run","from","an","MLflow","tracking","server","that","generated","this","model",".",":","param","description",":","Description","of","the","version",".",":","param","await_creation_for",":","Number","of","seconds","to","wait","for","the","model","version","to","finish","being","created","and","is","in","``","READY","``","status",".","By","default",",","the","function","waits","for","five","minutes",".","Specify","0","or","None","to","skip","waiting",".",":","return",":","Single",":","py",":","class",":","`","mlflow.entities.model_registry.ModelVersion","`","object","created","by","backend","."]
code: def create_model_version(
      self,
      name,
      source,
      run_id=None,
      tags=None,
      run_link=None,
      description=None,
      await_creation_for=DEFAULT_AWAIT_MAX_SLEEP_SECONDS,
      local_model_path=None,
  ):
      """
      Create a new model version from given source.
  
      :param name: Name of the containing registered model.
      :param source: URI indicating the location of the model artifacts.
      :param run_id: Run ID from MLflow tracking server that generated the model.
      :param tags: A dictionary of key-value pairs that are converted into
                   :py:class:`mlflow.entities.model_registry.ModelVersionTag` objects.
      :param run_link: Link to the run from an MLflow tracking server that generated this model.
      :param description: Description of the version.
      :param await_creation_for: Number of seconds to wait for the model version to finish being
                                  created and is in ``READY`` status. By default, the function
                                  waits for five minutes. Specify 0 or None to skip waiting.
      :return: Single :py:class:`mlflow.entities.model_registry.ModelVersion` object created by
               backend.
      """
      tags = tags if tags else {}
      tags = [
          ModelVersionTag(key, str(value))
          for key, value in tags.items()
      ]
      arg_names = _get_arg_names(self.store.create_model_version)
      if "local_model_path" in arg_names:
          mv = self.store.create_model_version(
              name,
              source,
              run_id,
              tags,
              run_link,
              description,
              local_model_path=local_model_path,
          )
      else:
          # Fall back to calling create_model_version without
          # local_model_path since old model registry store implementations may not
          # support the local_model_path argument.
          mv = self.store.create_model_version(
              name, source, run_id, tags, run_link, description
          )
      if await_creation_for and await_creation_for > 0:
          self.store._await_model_version_creation(
              mv, await_creation_for
          )
      return mv
  
imports: import logging
  from mlflow.entities.model_registry import ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.store.model_registry import SEARCH_MODEL_VERSION_MAX_RESULTS_DEFAULT, SEARCH_REGISTERED_MODEL_MAX_RESULTS_DEFAULT
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS, utils
  from mlflow.utils.arguments_utils import _get_arg_names
label_desc: Use image node_id 12 for calling the ModelRegistryClient obj's underlying member method code with example usage: obj.create_model_version(name, source, run_id, tags, run_link, description, await_creation_for, local_model_path) and returns: mv