From 18acb4a2b18f75a783dfb14d0e596574932b55a6 Mon Sep 17 00:00:00 2001 From: zrguo Date: Tue, 11 Feb 2025 22:16:35 +0800 Subject: [PATCH] fix linting error --- lightrag/kg/postgres_impl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index f797d2b6..79496abd 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -550,7 +550,9 @@ class PGDocStatusStorage(DocStatusStorage): "workspace": self.db.workspace, "id": k, "status": v["status"].value, # Convert Enum to string - "chunks_count": v.get("chunks_count", -1), # Default to -1 if not provided + "chunks_count": v.get( + "chunks_count", -1 + ), # Default to -1 if not provided } await self.db.execute(sql, _data)