code: def store(tmp_sqlite_uri):
      db_uri_from_env_var = MLFLOW_TRACKING_URI.get()
      store = SqlAlchemyStore(
          db_uri_from_env_var if db_uri_from_env_var else tmp_sqlite_uri
      )
      yield store
  
      if db_uri_from_env_var is not None:
          with store.ManagedSessionMaker() as session:
              for model in (
                  SqlModelVersionTag,
                  SqlRegisteredModelTag,
                  SqlModelVersion,
                  SqlRegisteredModel,
              ):
                  session.query(model).delete()
  
imports: import time
  import uuid
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_ALREADY_EXISTS, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.dbmodels.models import SqlModelVersion, SqlModelVersionTag, SqlRegisteredModel, SqlRegisteredModelTag
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from tests.helper_functions import random_str
label_desc: Use image node_id 1 for calling a global function with example usage: store(tmp_sqlite_uri) without return types