← Về thư mục
openai4s/server/variable_inspector.py
- VariableInspectorService · class · L24-L138 — class VariableInspectorService
- init · method · L27-L42 — def init( self, *, state_for: Callable[[str], Any | None], execution_snapshot: Callable[[str], Mapping[str, Any]], recovering: Callable[[str], bool], latest_generation: Callable[..., Mapping[str, Any] | None], latest_state_revision: Callable[[str], int], active_branch: Callable[[str], str] | None = None, ) -> None
- inspect · method · L44-L94 — def inspect(self, root_frame_id: str, language: str) -> dict[str, Any]
- _inactive · method · L96-L108 — def _inactive(self, root_frame_id: str, language: str) -> dict[str, Any]
- _unavailable · method · L110-L138 — def _unavailable( self, root_frame_id: str, language: str, state: str, *, generation_id: str = "", ) -> dict[str, Any]
- _safe_payload · function · L141-L174 — def _safe_payload(payload: Any) -> dict[str, Any]
- _safe_preview · function · L180-L190 — def _safe_preview(value: Any) -> Any
- _text · function · L193-L197 — def _text(value: Any, limit: int) -> str
- _alive · function · L200-L204 — def _alive(kernel: Any) -> bool