← Về thư mục
skills/labarchive-integration/scripts/notebook_operations.py
- InspectionError · class · L33-L34 — class InspectionError(ValueError)
- _local_name · function · L37-L38 — def _local_name(tag: str) -> str
- _member_path_error · function · L41-L51 — def _member_path_error(name: str) -> str | None
- _is_symlink · function · L54-L56 — def _is_symlink(info: zipfile.ZipInfo) -> bool
- _find_child · function · L59-L63 — def _find_child(parent: ElementTree.Element, name: str) -> ElementTree.Element | None
- _manifest_reference · function · L66-L90 — def _manifest_reference( entry_info: ElementTree.Element, element_name: str, archive_names: set[str], errors: list[str], ) -> str | None
- _parse_manifest · function · L93-L163 — def _parse_manifest( archive: zipfile.ZipFile, info: zipfile.ZipInfo, archive_names: set[str], max_manifest_bytes: int, max_index_bytes: int, errors: list[str], warnings: list[str], ) -> dict[str, Any]
- inspect_container · function · L166-L310 — def inspect_container( input_path: Path, *, max_members: int = DEFAULT_MAX_MEMBERS, max_total_bytes: int = DEFAULT_MAX_TOTAL_BYTES, max_manifest_bytes: int = DEFAULT_MAX_MANIFEST_BYTES, max_index_bytes: int = DEFAULT_MAX_INDEX_BYTES, max_compression_ratio: float = DEFAULT_MAX_COMPRESSION_RATIO, ) -> dict[str, Any]
- _write_json_safely · function · L313-L347 — def _write_json_safely( output_path: Path, payload: Mapping[str, Any], *, input_path: Path, force: bool, compact: bool, ) -> None
- _emit_json · function · L350-L355 — def _emit_json(payload: Mapping[str, Any], *, compact: bool) -> None
- command_inspect · function · L358-L378 — def command_inspect(args: argparse.Namespace) -> int
- build_parser · function · L381-L421 — def build_parser() -> argparse.ArgumentParser
- main · function · L424-L447 — def main(argv: Sequence[str] | None = None) -> int