code: def test_missing_attach_id(wandb_init):
      run = wandb_init()
      with pytest.raises(UsageError):
          wandb._attach(attach_id=None, run_id=None)
      run.finish()
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_mp_full.py
imports: import importlib
  import sys
  import time
  import pytest
  import wandb
  from wandb.errors import UsageError
label_desc: Use image node_id 4 for calling a global function with example usage: test_missing_attach_id(wandb_init) without return types