code: def mlflow_artifact_repo_with_host():
      artifact_uri = "mlflow-artifacts://test.com:5000/api/2.0/mlflow-artifacts/artifacts"
      return MlflowArtifactsRepository(artifact_uri)
  
imports: import os
  import posixpath
  from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.mlflow_artifacts_repo import MlflowArtifactsRepository
  from mlflow.tracking._tracking_service.utils import _get_default_host_creds
label_desc: Use image node_id 6 for calling a global function with example usage: mlflow_artifact_repo_with_host() and returns: MlflowArtifactsRepository