code: def test_artifact_get_path_download(user, api, sample_data):
      art = api.artifact("mnist:v0", type="dataset")
      path = art.get_entry("digits.h5").download(os.getcwd())
      assert os.path.exists("./digits.h5")
      assert path == os.path.join(os.getcwd(), "digits.h5")
  
imports: import os
  import platform
  import pytest
  import wandb
  from wandb.sdk.artifacts.exceptions import ArtifactFinalizedError
label_desc: Use image node_id 6 for calling a global function with example usage: test_artifact_get_path_download(user, api, sample_data) without return types