cleaned import

This commit is contained in:
Yannick Stephan
2025-02-09 11:24:08 +01:00
parent 61fd3e6127
commit 4cce14e65e
8 changed files with 62 additions and 70 deletions

View File

@@ -231,9 +231,7 @@ class PGKVStorage(BaseKVStorage):
else:
return await self.db.query(sql, params, multirows=True)
async def get_by_status(
self, status: str
) -> Union[list[dict[str, Any]], None]:
async def get_by_status(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}