class_docstr: Wandb logger with mocked Wandb API gateway (one per trial).
class_docstr_tok: ["Wandb","logger","with","mocked","Wandb","API","gateway","(","one","per","trial",")","."]
code: def _cleanup_logging_actor(self, trial: "Trial", **kwargs):
      logging_actor_state: LoggingActorState = ray.get(
          self._trial_logging_actors[trial].get_state.remote()
      )
      self._saved_actor_states[trial] = logging_actor_state
      super()._cleanup_logging_actor(trial, **kwargs)
  
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 WandbTestExperimentLogger obj's underlying member method code with example usage: obj._cleanup_logging_actor(trial) without return types