MCPcopy
hub / github.com/treeverse/dvc / cleanup

Method cleanup

dvc/repo/experiments/executor/base.py:349–354  ·  view source on GitHub ↗
(self, infofile: Optional[str] = None)

Source from the content-addressed store, hash-verified

347 return dict_sha256(exp_data)
348
349 def cleanup(self, infofile: Optional[str] = None):
350 if infofile is not None:
351 info = ExecutorInfo.load_json(infofile)
352 if info.status < TaskStatus.FAILED:
353 info.status = TaskStatus.FINISHED
354 info.dump_json(infofile)
355
356 # TODO: come up with better way to stash repro arguments
357 @staticmethod

Callers 5

saveFunction · 0.45
cleanup_expFunction · 0.45
_reproduce_entryMethod · 0.45
_reproduce_entryMethod · 0.45

Calls 2

load_jsonMethod · 0.80
dump_jsonMethod · 0.80

Tested by 1