code: def on_enter(self, record: "Record", context: StateContext) -> None:
      self._context = context
  
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 7 for calling the StateShared obj's underlying member method code with example usage: obj.on_enter(record, context) without return types