code: def test_artifact_get_path(user, api, sample_data):
      art = api.artifact("mnist:v0", type="dataset")
      assert art.type == "dataset"
      assert art.name == "mnist:v0"
      actual_path = art.get_entry("digits.h5").download()
      part = art.name
      if platform.system() == "Windows":
          part = "mnist-v0"
      expected_path = os.path.join(".", "artifacts", part, "digits.h5")
      assert actual_path == os.path.abspath(expected_path)
  
imports: import os
  import platform
  import pytest
  import wandb
  from wandb.sdk.artifacts.exceptions import ArtifactFinalizedError
label_desc: Use image node_id 5 for calling a global function with example usage: test_artifact_get_path(user, api, sample_data) without return types