code: def uc_model_version_tag_from_mlflow_tags(
      tags: Optional[List[ModelVersionTag]],
  ) -> List[ProtoModelVersionTag]:
      if tags is None:
          return []
      return [
          ProtoModelVersionTag(key=t.key, value=t.value) for t in tags
      ]
  
file_path: mlflow/mlflow/store/_unity_catalog/registry/utils.py
imports: from typing import List, Optional
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModel, RegisteredModelAlias, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersion
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersionStatus
  from mlflow.protos.databricks_uc_registry_messages_pb2 import ModelVersionTag
  from mlflow.protos.databricks_uc_registry_messages_pb2 import RegisteredModel
  from mlflow.protos.databricks_uc_registry_messages_pb2 import RegisteredModelTag
  from mlflow.protos.databricks_uc_registry_messages_pb2 import TemporaryCredentials
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
label_desc: Use image node_id 5 for calling a global function with example usage: uc_model_version_tag_from_mlflow_tags(tags) and returns: unknown, list