← Về thư mục
openai4s/storage/deletion.py
- SessionDeletionRepository · class · L18-L672 — class SessionDeletionRepository
- init · method · L21-L23 — def init(self, connection: sqlite3.Connection, lock: Any) -> None
- project_session_ids · method · L25-L35 — def project_session_ids(self, project_id: str) -> list[str]
- delete_session · method · L37-L72 — def delete_session(self, root_frame_id: str) -> dict[str, Any]
- delete_project · method · L74-L140 — def delete_project(self, project_id: str) -> dict[str, Any]
- _delete_aggregate_locked · method · L142-L609 — def _delete_aggregate_locked( self, *, root_frame_ids: Iterable[str], frame_ids: Iterable[str], artifact_ids: Iterable[str], project_id: str | None = None, ) -> dict[str, Any]
- _artifact_ids_locked · method · L611-L619 — def _artifact_ids_locked( self, where: str, params: tuple[Any, ...] ) -> tuple[str, ...]
- _frame_ids_for_roots_locked · method · L621-L631 — def _frame_ids_for_roots_locked(self, roots: tuple[str, ...]) -> tuple[str, ...]
- _delete_counted · method · L633-L641 — def _delete_counted( self, totals: dict[str, int], table: str, where: str, params: tuple[Any, ...], ) -> None
- _marks · method · L644-L647 — def _marks(values: tuple[Any, ...]) -> str
- _unique · method · L650-L651 — def _unique(values: Iterable[Any]) -> tuple[str, ...]
- _required · method · L654-L657 — def _required(name: str, value: str) -> str
- _empty_result · method · L660-L672 — def _empty_result(*, root_frame_id: str) -> dict[str, Any]