code: def test_rest_get_artifact_api_proxied_with_artifacts(
      artifacts_server, tmp_path
  ):
      url = artifacts_server.url
      mlflow.set_tracking_uri(url)
      tmp_path_a = tmp_path.joinpath("a.txt")
      tmp_path_a.write_text("abcdefg")
  
      mlflow.set_experiment("rest_get_artifact_api_test")
      with mlflow.start_run() as run:
          mlflow.log_artifact(tmp_path_a)
  
      get_artifact_response = requests.get(
          url=f"{url}/get-artifact",
          params={"run_id": run.info.run_id, "path": "a.txt"},
      )
      get_artifact_response.raise_for_status()
      assert get_artifact_response.text == "abcdefg"
  
imports: import cgi
  import os
  import pathlib
  import subprocess
  import tempfile
  from collections import namedtuple
  import pytest
  import requests
  import mlflow
  from mlflow import MlflowClient
  from mlflow.artifacts import download_artifacts
  from tests.helper_functions import LOCALHOST, get_safe_port
  from tests.tracking.integration_test_utils import _await_server_up_or_die
label_desc: Use image node_id 15 for calling a global function with example usage: test_rest_get_artifact_api_proxied_with_artifacts(artifacts_server, tmp_path) without return types