code: def get_state(self):
      return LoggingActorState(
          args=self.args,
          kwargs=self.kwargs,
          exclude=self._exclude,
          logs=self._wandb.get_logs(),
          config=self._wandb.get_config(),
      )
  
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 2 for calling the _MockWandbLoggingActor obj's underlying member method code with example usage: obj.get_state() and returns: LoggingActorState