autointent.remove_module_dump#
- autointent.remove_module_dump(path)#
Remove a module (or whole pipeline) dump directory together with its remote state.
Scans the tree for
remote_manifest.jsonfiles, deletes each referenced cluster index (any future remote backend that drops a manifest inherits this cleanup), then removes the directory. Cleanup is best-effort: cluster errors are logged, not raised, matching theshutil.rmtree(..., ignore_errors=True)this replaces in the optimization loop. Dumps without manifests (Faiss, pre-#343) are simply removed.- Parameters:
path (str | pathlib.Path)
- Return type:
None