class_docstr: Client for a remote model registry server accessed via REST API calls
  
  :param get_host_creds: Method to be invoked prior to every REST request to get the
    :py:class:`mlflow.rest_utils.MlflowHostCreds` for the request. Note that this
    is a function so that we can obtain fresh credentials in the case of expiry.
class_docstr_tok: ["Client","for","a","remote","model","registry","server","accessed","via","REST","API","calls",":","param","get_host_creds",":","Method","to","be","invoked","prior","to","every","REST","request","to","get","the",":","py",":","class",":","`","mlflow.rest_utils.MlflowHostCreds","`","for","the","request",".","Note","that","this","is","a","function","so","that","we","can","obtain","fresh","credentials","in","the","case","of","expiry","."]
docstr: Get the model version instance by name and version.
  
  :param name: Registered model name.
  :param version: Registered model version.
  :return: A single :py:class:`mlflow.entities.model_registry.ModelVersion` object.
docstr_tok: ["Get","the","model","version","instance","by","name","and","version",".",":","param","name",":","Registered","model","name",".",":","param","version",":","Registered","model","version",".",":","return",":","A","single",":","py",":","class",":","`","mlflow.entities.model_registry.ModelVersion","`","object","."]
code: def get_model_version(self, name, version):
      """
      Get the model version instance by name and version.
  
      :param name: Registered model name.
      :param version: Registered model version.
      :return: A single :py:class:`mlflow.entities.model_registry.ModelVersion` object.
      """
      req_body = message_to_json(
          GetModelVersion(name=name, version=str(version))
      )
      response_proto = self._call_endpoint(GetModelVersion, req_body)
      return ModelVersion.from_proto(response_proto.model_version)
  
imports: import logging
  from mlflow.entities.model_registry import ModelVersion, RegisteredModel
  from mlflow.protos.model_registry_pb2 import CreateModelVersion, CreateRegisteredModel, DeleteModelVersion, DeleteModelVersionTag, DeleteRegisteredModel, DeleteRegisteredModelAlias, DeleteRegisteredModelTag, GetLatestVersions, GetModelVersion, GetModelVersionByAlias, GetModelVersionDownloadUri, GetRegisteredModel, ModelRegistryService, RenameRegisteredModel, SearchModelVersions, SearchRegisteredModels, SetModelVersionTag, SetRegisteredModelAlias, SetRegisteredModelTag, TransitionModelVersionStage, UpdateModelVersion, UpdateRegisteredModel
  from mlflow.store.entities.paged_list import PagedList
  from mlflow.store.model_registry.base_rest_store import BaseRestStore
  from mlflow.utils.proto_json_utils import message_to_json
  from mlflow.utils.rest_utils import _REST_API_PATH_PREFIX, extract_all_api_info_for_service, extract_api_info_for_service
label_desc: Use image node_id 17 for calling the RestStore obj's underlying member method code with example usage: obj.get_model_version(name, version) and returns: ModelVersion