We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb91a28 commit ea6044eCopy full SHA for ea6044e
v03_pipeline/lib/tasks/delete_old_runs.py
@@ -46,7 +46,7 @@ def run(self) -> None:
46
47
# Delete run dirs until we encounter the first of the N successful runs to keep.
48
oldest_successful_run_index = run_dir_paths.index(
49
- successful_run_dir_paths[-MIN_SUCCESSFUL_RUNS]
+ successful_run_dir_paths[-MIN_SUCCESSFUL_RUNS],
50
)
51
for run_dir_path in run_dir_paths[:oldest_successful_run_index]:
52
GCSorLocalTarget(run_dir_path.replace('file:', '')).remove()
0 commit comments