cleaned code

This commit is contained in:
Yannick Stephan
2025-02-08 23:20:37 +01:00
parent cff415d91f
commit 5a082a0052
6 changed files with 10 additions and 24 deletions

View File

@@ -238,9 +238,7 @@ class PGKVStorage(BaseKVStorage):
else:
return None
async def get_by_status_and_ids(
self, status: str
) -> Union[list[dict[str, Any]], None]:
async def get_by_status_and_ids(self, status: str) -> Union[list[dict[str, Any]], None]:
"""Specifically for llm_response_cache."""
SQL = SQL_TEMPLATES["get_by_status_" + self.namespace]
params = {"workspace": self.db.workspace, "status": status}