code: def __init__(
      self,
      forward_record: Callable[["Record"], None],
      pause_marker: Callable[[], None],
      threshold_pause: int,
  ) -> None:
      super().__init__()
      self._forward_record = forward_record
      self._pause_marker = pause_marker
      self._threshold_pause = threshold_pause
  
imports: import logging
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, Callable, Optional
  from wandb.proto import wandb_internal_pb2
  from wandb.sdk.lib import fsm
  from .settings_static import SettingsStatic
label_desc: Use image node_id 1 to create a new StateForwarding object from inherited base classes: StateShared with example: obj = StateForwarding(forward_record, pause_marker, threshold_pause)