← Về thư mục
openai4s/storage/branch_projection.py
- BranchProjectionStore · class · L19-L22 — class BranchProjectionStore(Protocol)
- get_session_branch · method · L20-L20 — def get_session_branch(self, branch_id: str) -> dict[str, Any] | None
- get_session_checkpoint · method · L22-L22 — def get_session_checkpoint(self, checkpoint_id: str) -> dict[str, Any] | None
- inclusive_cursor · function · L31-L41 — def inclusive_cursor(value: Any) -> int | None
- count_cursor · function · L44-L54 — def count_cursor(value: Any) -> int | None
- project_branch_records · function · L57-L193 — def project_branch_records( store: BranchProjectionStore, root_frame_id: str, branch_id: str, *, list_local: LocalReader[Record], record_position: PositionReader[Record], cursor_key: str, normalize_cursor: CursorNormalizer = inclusive_cursor, ) -> list[Record]
- local · function · L82-L90 — def local(selected: str) -> list[Record]
- segment · function · L92-L103 — def segment( selected: str, *, after: int | None, upto: int | None, ) -> list[Record]
- checkpoint_projection · function · L105-L172 — def checkpoint_projection( checkpoint_id: str, visiting: frozenset[str], ) -> tuple[list[Record], int | None]
- _required_text · function · L196-L199 — def _required_text(name: str, value: Any) -> str