code: def test_disabled_summary(wandb_init):
      run = wandb_init(mode="disabled")
      run.summary["cat"] = 2
      run.summary["nested"] = dict(level=3)
      print(run.summary["cat"])
      print(run.summary.cat)
      with pytest.raises(KeyError):
          print(run.summary["dog"])
      assert run.summary["nested"]["level"] == 3
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_mode_disabled_full.py
imports: import os
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 4 for calling a global function with example usage: test_disabled_summary(wandb_init) without return types