code: def test_wandb_getattr():
      import wandb
  
      logger = WandBLogger(init=False)
      assert wandb.log == logger.log
  
file_path: ignite/tests/ignite/contrib/handlers/test_wandb_logger.py
imports: from unittest.mock import call, MagicMock
  import pytest
  import torch
  from ignite.contrib.handlers.wandb_logger import global_step_from_engine, OptimizerParamsHandler, OutputHandler, WandBLogger
  from ignite.engine import Events, State
label_desc: Use image node_id 14 for calling a global function with example usage: test_wandb_getattr() without return types