← Về thư mục
scripts/migrate_literature_corpus_to_v3_7_3.py
- discover_passports · function · L45-L47 — def discover_passports(directory: Path) -> Iterable[Path]
- _is_complete · function · L50-L69 — def _is_complete(signals: Mapping[str, Any], entry: Mapping[str, Any]) -> bool
- _is_insufficient · function · L72-L85 — def _is_insufficient(entry: Mapping[str, Any]) -> bool
- migrate_passport · function · L88-L169 — def migrate_passport( path: Path, *, ss_client: cs.SemanticScholarClient, dry_run: bool, verbose: bool = False, ) -> dict[str, int]
- _log · function · L113-L115 — def _log(msg: str) -> None
- migrate_directory · function · L172-L195 — def migrate_directory( directory: Path, *, ss_client: cs.SemanticScholarClient, dry_run: bool, verbose: bool = False, ) -> dict[str, int]
- _build_default_ss_client · function · L198-L204 — def _build_default_ss_client() -> cs.SemanticScholarClient
- _parse_args · function · L207-L222 — def _parse_args(argv: list[str]) -> argparse.Namespace
- main · function · L225-L258 — def main(argv: list[str] | None = None) -> int