LarFii commited on
Commit
96e7f29
·
1 Parent(s): bc8e99c

fix linting error

Browse files
Files changed (1) hide show
  1. lightrag/kg/postgres_impl.py +3 -1
lightrag/kg/postgres_impl.py CHANGED
@@ -550,7 +550,9 @@ class PGDocStatusStorage(DocStatusStorage):
550
  "workspace": self.db.workspace,
551
  "id": k,
552
  "status": v["status"].value, # Convert Enum to string
553
- "chunks_count": v.get("chunks_count", -1), # Default to -1 if not provided
 
 
554
  }
555
  await self.db.execute(sql, _data)
556
 
 
550
  "workspace": self.db.workspace,
551
  "id": k,
552
  "status": v["status"].value, # Convert Enum to string
553
+ "chunks_count": v.get(
554
+ "chunks_count", -1
555
+ ), # Default to -1 if not provided
556
  }
557
  await self.db.execute(sql, _data)
558