mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-09-22 06:33:55 +00:00
fix linting error
This commit is contained in:
parent
a272c7b3f7
commit
18acb4a2b1
@ -550,7 +550,9 @@ class PGDocStatusStorage(DocStatusStorage):
|
|||||||
"workspace": self.db.workspace,
|
"workspace": self.db.workspace,
|
||||||
"id": k,
|
"id": k,
|
||||||
"status": v["status"].value, # Convert Enum to string
|
"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)
|
await self.db.execute(sql, _data)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user