code: def test_create_and_query_model_version_flow(client):
      name = "CreateMVTest"
      tags = {
          "key": "value",
          "another key": "some other value",
          "numeric value": 12345,
      }
      client.create_registered_model(name)
      mv1 = client.create_model_version(
          name, "runs:/run_id/model", "run_id_1", tags
      )
      assert mv1.version == "1"
      assert mv1.name == name
      assert mv1.tags == {
          "key": "value",
          "another key": "some other value",
          "numeric value": "12345",
      }
      mvd1 = client.get_model_version(name, "1")
      assert mvd1.tags == {
          "key": "value",
          "another key": "some other value",
          "numeric value": "12345",
      }
      assert [
          rm.latest_versions
          for rm in client.search_registered_models()
          if rm.name == name
      ] == [[mvd1]]
      mv2 = client.create_model_version(
          name, "runs:/run_id/another_model", "run_id_1"
      )
      assert mv2.version == "2"
      assert mv2.name == name
      mvd2 = client.get_model_version(name, "2")
      assert [
          rm.latest_versions
          for rm in client.search_registered_models()
          if rm.name == name
      ] == [[mvd2]]
      model_versions_by_name = client.search_model_versions(
          f"name = '{name}'"
      )
      assert {mv.version for mv in model_versions_by_name} == {"1", "2"}
      assert {mv.name for mv in model_versions_by_name} == {name}
  
      mv3 = client.create_model_version(
          name, "runs:/run_id/another_model", "run_id_2"
      )
      assert mv3.version == "3"
      assert client.search_model_versions(
          "source_path = 'runs:/run_id/model'"
      ) == [mvd1]
      assert client.search_model_versions("run_id = 'run_id_1'") == [
          mvd2,
          mvd1,
      ]
  
      assert (
          client.get_model_version_download_uri(name, "1")
          == "runs:/run_id/model"
      )
  
imports: import time
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities.model_registry import ModelVersion, RegisteredModel
  from mlflow.exceptions import MlflowException
  from mlflow.utils.os import is_windows
  from mlflow.utils.time import get_current_time_millis
  from tests.tracking.integration_test_utils import _init_server
label_desc: Use image node_id 13 for calling a global function with example usage: test_create_and_query_model_version_flow(client) without return types