(self, task_id: str)
| 634 | self.save() |
| 635 | return t |
| 636 | return None |
| 637 | |
| 638 | def complete(self, task_id: str): |
| 639 | for t in self.tasks: |
| 640 | if t.id == task_id: |
| 641 | t.status = "completed" |
| 642 | t.completed_at = _now_ms() |
| 643 | self.save() |
| 644 | return |
| 645 |
no test coverage detected