Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Oct 9, 2024
1 parent 87f8c68 commit ef23e6d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,12 @@ def delete_run(self, run_id: str) -> None:
with self.connect() as conn:
conn.execute(query)

def delete_runs(self, run_ids: Sequence[str]) -> None:
check.list_param(run_ids, "run_ids", of_type=str)
query = db.delete(RunsTable).where(RunsTable.c.run_id in run_ids)
with self.connect() as conn:
conn.execute(query)

def has_job_snapshot(self, job_snapshot_id: str) -> bool:
check.str_param(job_snapshot_id, "job_snapshot_id")
return self._has_snapshot_id(job_snapshot_id)
Expand Down

0 comments on commit ef23e6d

Please sign in to comment.