code: def _model_version(
      name,
      version,
      stage,
      source="some:/source",
      run_id="run13579",
      tags=None,
      aliases=None,
  ):
      return ModelVersion(
          name,
          version,
          "2345671890",
          "234567890",
          "some description",
          "UserID",
          stage,
          source,
          run_id,
          tags=tags,
          aliases=aliases,
      )
  
imports: from unittest import mock
  from unittest.mock import ANY
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModel, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.store.entities.paged_list import PagedList
  from mlflow.store.model_registry import SEARCH_MODEL_VERSION_MAX_RESULTS_DEFAULT, SEARCH_REGISTERED_MODEL_MAX_RESULTS_DEFAULT
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from mlflow.tracking._model_registry.client import ModelRegistryClient
label_desc: Use image node_id 3 for calling a global function with example usage: _model_version(name, version, stage, source, run_id, tags, aliases) and returns: ModelVersion