← Về thư mục
openai4s/artifact_restore.py
- ArtifactRestoreRefused · class · L18-L35 — class ArtifactRestoreRefused(RuntimeError)
- ArtifactRestoreDenied · class · L38-L46 — class ArtifactRestoreDenied(ArtifactRestoreRefused, PermissionError)
- ArtifactRestoreStore · class · L49-L56 — class ArtifactRestoreStore(Protocol)
- version_meta · method · L52-L52 — def version_meta(self, version_id: str) -> dict | None
- set_version_snapshot · method · L54-L54 — def set_version_snapshot(self, version_id: str, snapshot_path: str) -> None
- record_artifact_restore · method · L56-L56 — def record_artifact_restore(self, **fields: Any) -> dict
- trusted_snapshot_roots · function · L62-L84 — def trusted_snapshot_roots(data_dir: Path | str) -> tuple[Path, ...]
- ArtifactRestoreService · class · L87-L205 — class ArtifactRestoreService
- init · method · L96-L110 — def init( self, *, store: ArtifactRestoreStore, primary_snapshot_dir: Path, trusted_snapshot_dirs: tuple[Path, ...], resolve_live_path: LivePathResolver, ) -> None
- verified_snapshot_bytes · method · L112-L205 — def verified_snapshot_bytes(self, version: dict) -> tuple[Path, bytes]