← Về thư mục
scripts/migrate_literature_corpus_to_v3_9_0.py
- _entry_in_v3_7_3_scope · function · L46-L72 — def _entry_in_v3_7_3_scope(entry: Mapping[str, Any]) -> bool
- _is_complete · function · L75-L77 — def _is_complete(sig: Mapping[str, Any]) -> bool
- migrate_passport · function · L80-L222 — def migrate_passport( path: Path, *, oa_client: Any, cr_client: Any, dry_run: bool, verbose: bool = False, ) -> dict[str, int]
- _log · function · L115-L117 — def _log(msg: str) -> None
- _reconcile · function · L154-L172 — def _reconcile(get_result, sig_key, exc_type, label) -> bool
- _print_report · function · L225-L238 — def _print_report(path: Path, report: dict[str, int], dry_run: bool) -> None
- _build_default_oa_client · function · L241-L245 — def _build_default_oa_client()
- _build_default_cr_client · function · L248-L251 — def _build_default_cr_client()
- _parse_args · function · L254-L269 — def _parse_args(argv: list[str]) -> argparse.Namespace
- main · function · L272-L284 — def main(argv: list[str] | None = None) -> int