← Về thư mục
scripts/migrate_literature_corpus_to_v3_10.py
- PassportShapeError · class · L55-L58 — class PassportShapeError(ValueError)
- _entry_has_v3_9_0_signals · function · L61-L73 — def _entry_has_v3_9_0_signals(entry: Any) -> bool
- _passport_in_v3_9_0_scope · function · L76-L86 — def _passport_in_v3_9_0_scope(doc: Any) -> bool
- migrate_passport · function · L89-L170 — def migrate_passport( path: Path, *, dry_run: bool, verbose: bool = False, ) -> dict[str, Any]
- _log · function · L108-L110 — def _log(msg: str) -> None
- _print_report · function · L173-L187 — def _print_report(path: Path, report: dict[str, Any], dry_run: bool) -> None
- _parse_args · function · L190-L206 — def _parse_args(argv: list[str]) -> argparse.Namespace
- main · function · L209-L219 — def main(argv: list[str] | None = None) -> int