phenotypic.sdk_.machine_state_restart_targets#
- phenotypic.sdk_.machine_state_restart_targets(output_dir: Path) list[Path][source]#
Every existing path
clear_machine_state()would remove, in order.The single producer of “what does
--restartdelete”. Read byclear_machine_state()itself, by the--dry-runpreview, and by the CLI’s refusal of a--pipeline/--metadata/--image-manifestthat a restart would delete before the run reads it. Performs no write.- Parameters:
output_dir (Path) – The run’s output directory.
- Returns:
each non-preserved child of
.phenotypic/, then any pre-migration root-level machine-state.- Return type:
Existing paths only