code: def test_disabled_globals(wandb_init):
      # Test wandb.* attributes
      run = wandb_init(
          config={"foo": {"bar": {"x": "y"}}}, mode="disabled"
      )
      wandb.log({"x": {"y": "z"}})
      wandb.log({"foo": {"bar": {"x": "y"}}})
      assert wandb.run == run
      assert wandb.config == run.config
      assert wandb.summary == run.summary
      assert wandb.config.foo["bar"]["x"] == "y"
      assert wandb.summary["x"].y == "z"
      assert wandb.summary["foo"].bar.x == "y"
      wandb.summary.foo["bar"].update({"a": "b"})
      assert wandb.summary.foo.bar.a == "b"
      run.finish()
  
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 5 for calling a global function with example usage: test_disabled_globals(wandb_init) without return types