code: def test_wandb_artifact_config_set_item(user, test_settings):
      open("file1.txt", "w").write("hello")
      artifact = wandb.Artifact("test_reference_download", "dataset")
      artifact.add_file("file1.txt")
      artifact.add_reference(
          "https://wandb-artifacts-refs-public-test.s3-us-west-2.amazonaws.com/StarWars3.wav"
      )
      with wandb.init(settings=test_settings()) as run:
          run.config.test_reference_download = artifact
          assert run.config.test_reference_download == artifact
  
      run = wandb.Api().run(f"uncategorized/{run.id}")
      assert run.config["test_reference_download"] == {
          "_type": "artifactVersion",
          "_version": "v0",
          "id": artifact.id,
          "version": "v0",
          "sequenceName": artifact.name.split(":")[0],
          "usedAs": "test_reference_download",
      }
  
imports: import json
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 10 for calling a global function with example usage: test_wandb_artifact_config_set_item(user, test_settings) without return types