Skip to content

MonitorSnapshot

The result of one poll of an item checkpoint directory.

run_items is (done, total) items over all the run's items, or None when unknown. run_shots is (done, total) shots over all the run's items, finished plus in flight, or None when unknown. Neither is narrowed by --host.

MonitorSnapshot

MonitorSnapshot(directory: Path, directory_exists: bool, workers: tuple[WorkerSummary, ...], skipped: tuple[SkippedFile, ...], totals: MonitorTotals, run_items: tuple[int, int] | None, run_shots: tuple[int, int] | None, notes: tuple[str, ...]) -> None

Attributes

Name Type Value Doc
directory pathlib.Path unset
directory_exists bool unset
notes tuple[str, ...] unset
run_items tuple[int, int] | None unset
run_shots tuple[int, int] | None unset
skipped tuple[SkippedFile, ...] unset
totals MonitorTotals unset
workers tuple[WorkerSummary, ...] unset