MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / mark_done

Method mark_done

core/taskqueue.py:56–62  ·  view source on GitHub ↗
(self, task_id, result='')

Source from the content-addressed store, hash-verified

54 self.save()
55
56 def mark_done(self, task_id, result=''):
57 for t in self.tasks:
58 if t.id == task_id:
59 t.status = STATUS_DONE
60 t.result = result[:300]
61 break
62 self.save()
63
64 def mark_failed(self, task_id, error=''):
65 for t in self.tasks:

Callers 1

run_queueFunction · 0.80

Calls 1

saveMethod · 0.95

Tested by

no test coverage detected