code: def __init__(
      self, logdir, queue, exclude, to_config, *args, **kwargs
  ):
      super(_MockWandbLoggingActor, self).__init__(
          logdir, queue, exclude, to_config, *args, **kwargs
      )
      self._wandb = self._mock_wandb_api_cls()
  
imports: from collections import namedtuple
  from dataclasses import dataclass
  from typing import Dict
  from unittest.mock import Mock
  from wandb.util import json_dumps_safer
  import ray
  from ray.air.integrations.wandb import _WandbLoggingActor, WandbLoggerCallback
label_desc: Use image node_id 1 to create a new _MockWandbLoggingActor object from inherited base classes: _WandbLoggingActor with example: obj = _MockWandbLoggingActor(logdir, queue, exclude, to_config)