(self, task: dict)
| 61 | return json.loads(path.read_text()) |
| 62 | |
| 63 | def _save(self, task: dict): |
| 64 | path = self.dir / f"task_{task['id']}.json" |
| 65 | path.write_text(json.dumps(task, indent=2, ensure_ascii=False)) |
| 66 | |
| 67 | def create(self, subject: str, description: str = "") -> str: |
| 68 | task = { |
no outgoing calls
no test coverage detected