refactor(src/services): simplify TodoService and remove unused ConfigService stop function

Remove redundant import duplication, replace uuid with os.urandom, rename completion_rate to active, update property decorator, and clean up callback handling. Also removed unused stop_config_service function.
This commit is contained in:
sankalp committed 2026-07-04 07:26:44 +05:45
1 parent 274ffbfaed
commit 01c193bd8e
3 files changed
+29 -40

No files matched your search

-7
View File
@@ -198,13 +198,6 @@ def start_config_service() -> ConfigService:
return _service
def stop_config_service() -> None:
global _service
if _service is not None:
_service.stop()
_service = None
# Convenience helpers for concise usage
def config() -> ConfigService:
"""Get the singleton service (concise alias)."""