From b4e0c476074d55056b1872e65b301725847658bf Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 18 Feb 2025 10:29:07 +0100 Subject: [PATCH] Update postgres_impl.py --- lightrag/kg/postgres_impl.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index 35f0ed2e..cdb4748e 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -264,8 +264,6 @@ class PGKVStorage(BaseKVStorage): else: exist_keys = [] new_keys = set([s for s in keys if s not in exist_keys]) - print(f"keys: {keys}") - print(f"new_keys: {new_keys}") return new_keys except Exception as e: logger.error(f"PostgreSQL database error: {e}") @@ -500,7 +498,6 @@ class PGDocStatusStorage(DocStatusStorage): sql = "select * from LIGHTRAG_DOC_STATUS where workspace=$1 and status=$2" params = {"workspace": self.db.workspace, "status": status.value} result = await self.db.query(sql, params, True) - print("") docs_by_status = { element["id"]: DocProcessingStatus( content=result[0]["content"], @@ -513,7 +510,6 @@ class PGDocStatusStorage(DocStatusStorage): ) for element in result } - print(f"Docs by status: {docs_by_status}") return docs_by_status async def index_done_callback(self) -> None: