code: def test_create_and_query_registered_model_flow(client):
      name = "CreateRMTest"
      tags = {
          "key": "value",
          "another key": "some other value",
          "numeric value": 12345,
      }
      start_time = get_current_time_millis()
      registered_model = client.create_registered_model(name, tags)
      end_time = get_current_time_millis()
      assert isinstance(registered_model, RegisteredModel)
      assert registered_model.name == name
      assert registered_model.tags == {
          "key": "value",
          "another key": "some other value",
          "numeric value": "12345",
      }
      registered_model_detailed = client.get_registered_model(name)
      assert isinstance(registered_model_detailed, RegisteredModel)
      assert registered_model_detailed.name == name
      assert registered_model_detailed.tags == {
          "key": "value",
          "another key": "some other value",
          "numeric value": "12345",
      }
      assert str(registered_model_detailed.description) == ""
      assert registered_model_detailed.latest_versions == []
      assert_is_between(
          start_time,
          end_time,
          registered_model_detailed.creation_timestamp,
      )
      assert_is_between(
          start_time,
          end_time,
          registered_model_detailed.last_updated_timestamp,
      )
      assert [
          rm.name
          for rm in client.search_registered_models()
          if rm.name == name
      ] == [name]
      assert [
          rm.name
          for rm in client.search_registered_models()
          if rm.name == name
      ] == [name]
      assert [
          rm.name
          for rm in client.search_registered_models(filter_string="")
          if rm.name == name
      ] == [name]
      assert [
          rm.name
          for rm in client.search_registered_models(
              "name = 'CreateRMTest'"
          )
          if rm.name == name
      ] == [name]
  
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 3 for calling a global function with example usage: test_create_and_query_registered_model_flow(client) without return types