code: def test_download_artifacts_throws_for_invalid_arguments():
      with pytest.raises(MlflowException, match="Exactly one of"):
          mlflow.artifacts.download_artifacts(
              run_id="run_id", artifact_path="path", artifact_uri="uri"
          )
  
      with pytest.raises(MlflowException, match="Exactly one of"):
          mlflow.artifacts.download_artifacts()
  
      with pytest.raises(
          MlflowException, match="`artifact_path` cannot be specified"
      ):
          mlflow.artifacts.download_artifacts(
              artifact_path="path", artifact_uri="uri"
          )
  
imports: import pathlib
  import uuid
  from collections import namedtuple
  from typing import NamedTuple
  from unittest import mock
  import pytest
  import mlflow
  from mlflow.exceptions import MlflowException
  from mlflow.utils.file_utils import mkdir, path_to_local_file_uri
  from mlflow.utils.os import is_windows
label_desc: Use image node_id 6 for calling a global function with example usage: test_download_artifacts_throws_for_invalid_arguments() without return types