MCPcopy
hub / github.com/hyperopt/hyperopt / delete_all_error_jobs

Method delete_all_error_jobs

hyperopt/mongoexp.py:480–481  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

478 raise OperationFailure(e)
479
480 def delete_all_error_jobs(self):
481 return self.delete_all(cond={"state": JOB_STATE_ERROR})
482
483 def reserve(self, host_id, cond=None, exp_key=None):
484 now = coarse_utcnow()

Callers

nothing calls this directly

Calls 1

delete_allMethod · 0.95

Tested by

no test coverage detected