code: def on_check(self, record: "Record") -> None:
      self._update_written_offset(record)
      self._process(record)
  
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 8 for calling the StatePausing obj's underlying member method code with example usage: obj.on_check(record) without return types