code: def test_public_artifact_run_config_update(
      user, sample_data, test_settings
  ):
      art = wandb.Api().artifact("boom-data:v0", type="dataset")
      config = {"dataset": art}
      with wandb.init(settings=test_settings()) as run:
          run.config.update(config)
          assert run.config.dataset == art
  
      run = wandb.Api().run(f"uncategorized/{run.id}")
      assert run.config["dataset"] == {
          "_type": "artifactVersion",
          "_version": "v0",
          "id": art.id,
          "version": "v0",
          "sequenceName": art.source_name.split(":")[0],
          "usedAs": "dataset",
      }
  
imports: import json
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 14 for calling a global function with example usage: test_public_artifact_run_config_update(user, sample_data, test_settings) without return types