code: def test_transition_model_version_stage(store, creds):
      name = "model_1"
      version = "5"
      with mock_http_request_200() as mock_http:
          store.transition_model_version_stage(
              name=name,
              version=version,
              stage="prod",
              archive_existing_versions=True,
          )
      _verify_requests(
          mock_http,
          creds,
          "model-versions/transition-stage",
          "POST",
          TransitionModelVersionStage(
              name=name,
              version=version,
              stage="prod",
              archive_existing_versions=True,
          ),
      )
  
imports: import json
  import uuid
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.entities.model_registry.model_version_status import ModelVersionStatus
  from mlflow.exceptions import MlflowException
  from mlflow.protos.model_registry_pb2 import CreateModelVersion, CreateRegisteredModel, DeleteModelVersion, DeleteModelVersionTag, DeleteRegisteredModel, DeleteRegisteredModelAlias, DeleteRegisteredModelTag, GetLatestVersions, GetModelVersion, GetModelVersionByAlias, GetModelVersionDownloadUri, GetRegisteredModel, RenameRegisteredModel, SearchModelVersions, SearchRegisteredModels, SetModelVersionTag, SetRegisteredModelAlias, SetRegisteredModelTag, TransitionModelVersionStage, UpdateModelVersion, UpdateRegisteredModel
  from mlflow.store.model_registry.rest_store import RestStore
  from mlflow.utils.proto_json_utils import message_to_json
  from mlflow.utils.rest_utils import MlflowHostCreds
  from tests.helper_functions import mock_http_request_200, mock_http_request_403_200
label_desc: Use image node_id 18 for calling a global function with example usage: test_transition_model_version_stage(store, creds) without return types