← Về thư mục
scripts/verification_cache.py
- _resolve_path · function · L50-L57 — def _resolve_path(path: str | None) -> Path
- VerificationCache · class · L60-L153 — class VerificationCache
- init · method · L67-L74 — def init(self, path: str | None = None) -> None
- _connect · method · L76-L82 — def _connect(self) -> sqlite3.Connection
- get · method · L84-L115 — def get( self, citation_key: str, resolver_name: str, query_form: str, ) -> dict[str, Any] | None
- put · method · L117-L138 — def put( self, citation_key: str, resolver_name: str, query_form: str, response: dict[str, Any], ) -> None
- invalidate · method · L140-L148 — def invalidate(self, citation_key: str) -> None
- _is_expired · method · L151-L153 — def _is_expired(verification_timestamp: str) -> bool