code: def __init__(
      self,
      forward_record: Callable[["Record"], None],
      recover_records: Callable[[int, int], None],
      threshold_recover: int,
      threshold_forward: int,
  ) -> None:
      super().__init__()
      self._forward_record = forward_record
      self._recover_records = recover_records
      self._threshold_recover = threshold_recover
      self._threshold_forward = threshold_forward
  
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 StatePausing object from inherited base classes: StateShared with example: obj = StatePausing(forward_record, recover_records, threshold_recover, threshold_forward)