code: def mock_registry_store():
      mock_store = mock.MagicMock()
      mock_store.create_model_version = mock.create_autospec(
          SqlAlchemyModelRegistryStore.create_model_version
      )
      with mock.patch(
          "mlflow.tracking._model_registry.utils._get_store",
          return_value=mock_store,
      ):
          yield mock_store
  
imports: import pickle
  from unittest import mock
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities import ExperimentTag, Run, RunInfo, RunStatus, RunTag, SourceType, ViewType
  from mlflow.entities.metric import Metric
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag
  from mlflow.entities.model_registry.model_version_status import ModelVersionStatus
  from mlflow.entities.param import Param
  from mlflow.exceptions import MlflowException
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from mlflow.store.tracking import SEARCH_MAX_RESULTS_DEFAULT
  from mlflow.store.tracking.sqlalchemy_store import SqlAlchemyStore
  from mlflow.tracking import set_registry_uri
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking._model_registry.utils import _get_store_registry
  from mlflow.tracking._tracking_service.utils import _tracking_store_registry
  from mlflow.utils.databricks_utils import _construct_databricks_run_url, get_databricks_runtime
  from mlflow.utils.mlflow_tags import MLFLOW_GIT_COMMIT, MLFLOW_PARENT_RUN_ID, MLFLOW_PROJECT_ENTRY_POINT, MLFLOW_SOURCE_NAME, MLFLOW_SOURCE_TYPE, MLFLOW_USER
label_desc: Use image node_id 3 for calling a global function with example usage: mock_registry_store() without return types