MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / set_run_staled

Method set_run_staled

vulnerabilities/models.py:2177–2179  ·  view source on GitHub ↗

Set the execution as `stale` using a special 88 exitcode value.

(self)

Source from the content-addressed store, hash-verified

2175 self.save(update_fields=["run_exitcode", "run_output", "run_end_date"])
2176
2177 def set_run_staled(self):
2178 """Set the execution as `stale` using a special 88 exitcode value."""
2179 self.set_run_ended(exitcode=88)
2180
2181 def set_run_stopped(self):
2182 """Set the execution as `stopped` using a special 99 exitcode value."""

Callers 1

stop_runMethod · 0.95

Calls 1

set_run_endedMethod · 0.95

Tested by

no test coverage detected