refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

-3
View File
@@ -1,5 +1,3 @@
"""Transactional SQLite storage for private conversation state."""
from __future__ import annotations
import json
@@ -528,7 +526,6 @@ class SqliteSessionStore:
ORDER BY sessions.updated_at DESC
)
""").fetchone()[0]
# The SQL projection constructs this list and its dictionary fields.
rows = cast(list[dict[str, Any]], json.loads(encoded))
for row in rows:
row["path"] = str(self.path)