Merge remote-tracking branch 'origin/main' into make-clear-what-implemented-or-not
# Conflicts: # lightrag/base.py # lightrag/kg/json_doc_status_impl.py # lightrag/kg/mongo_impl.py # lightrag/kg/postgres_impl.py
This commit is contained in:
@@ -482,7 +482,7 @@ class PGDocStatusStorage(DocStatusStorage):
|
||||
async def get_docs_by_status(
|
||||
self, status: DocStatus
|
||||
) -> Dict[str, DocProcessingStatus]:
|
||||
"""Get all documents by status"""
|
||||
"""all documents with a specific status"""
|
||||
sql = "select * from LIGHTRAG_DOC_STATUS where workspace=$1 and status=$2"
|
||||
params = {"workspace": self.db.workspace, "status": status}
|
||||
result = await self.db.query(sql, params, True)
|
||||
|
Reference in New Issue
Block a user