code: def test_artifact_repo_is_cached_per_run_id(tmp_path):
      uri = "ftp://user:pass@host/path"
      with mock.patch(
          "mlflow.tracking._tracking_service.client.TrackingServiceClient.get_run",
          return_value=Run(
              RunInfo(
                  "uuid",
                  "expr_id",
                  "userid",
                  "status",
                  0,
                  10,
                  "active",
                  artifact_uri=uri,
              ),
              None,
          ),
      ):
          tracking_uri = tmp_path.as_uri()
          artifact_repo = TrackingServiceClient(
              tracking_uri
          )._get_artifact_repo("some_run_id")
          another_artifact_repo = TrackingServiceClient(
              tracking_uri
          )._get_artifact_repo("some_run_id")
          assert artifact_repo is another_artifact_repo
  
imports: from unittest import mock
  import pytest
  from mlflow.entities import Run, RunInfo
  from mlflow.tracking._tracking_service.client import TrackingServiceClient
label_desc: Use image node_id 4 for calling a global function with example usage: test_artifact_repo_is_cached_per_run_id(tmp_path) without return types