refactor(src/services): remove unused properties and methods across service classes

This commit is contained in:
sankalp committed 2026-07-09 18:55:36 +05:45
1 parent f9bef457ca
commit 1403c5adc0
11 files changed
+10 -268

No files matched your search

-7
View File
@@ -127,13 +127,6 @@ class TodoService(Service):
return True
return False
def get_todo(self, todo_id: str) -> dict | None:
"""Get a specific todo by ID"""
for todo in self._todos:
if todo["id"] == todo_id:
return todo.copy()
return None
def clear_completed(self):
"""Remove all completed todos"""
initial_count = len(self._todos)