code: def test_wb_value(user, sample_data, test_settings):
      run = wandb.init(settings=test_settings())
      local_art = wandb.Artifact("N", "T")
      public_art = run.use_artifact("N:latest")
  
      wbvalue = data_types.WBValue()
      with pytest.raises(NotImplementedError):
          wbvalue.to_json(local_art)
  
      with pytest.raises(NotImplementedError):
          data_types.WBValue.from_json({}, public_art)
  
      assert data_types.WBValue.with_suffix("item") == "item.json"
  
      table = data_types.WBValue.init_from_json(
          {
              "_type": "table",
              "data": [[]],
              "columns": [],
              "column_types": wandb.data_types._dtypes.TypedDictType(
                  {}
              ).to_json(),
          },
          public_art,
      )
      assert isinstance(table, data_types.WBValue) and isinstance(
          table, wandb.data_types.Table
      )
  
      type_mapping = data_types.WBValue.type_mapping()
      assert all(
          [
              issubclass(type_mapping[key], data_types.WBValue)
              for key in type_mapping
          ]
      )
  
      assert wbvalue == wbvalue
      assert wbvalue != data_types.WBValue()
      run.finish()
  
file_path: wandb/tests/pytest_tests/system_tests/test_artifacts/test_data_types.py
imports: import json
  import matplotlib
  import numpy
  import pytest
  import wandb
  from wandb import data_types
label_desc: Use image node_id 2 for calling a global function with example usage: test_wb_value(user, sample_data, test_settings) without return types