mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-14 17:13:13 +00:00
Fix linting
This commit is contained in:
parent
2fd997ca4f
commit
351c8db849
@ -608,10 +608,7 @@ class LightRAG:
|
||||
contents = {id_: doc for id_, doc in zip(ids, input)}
|
||||
else:
|
||||
# Generate contents dict of MD5 hash IDs and documents
|
||||
contents = {
|
||||
compute_mdhash_id(doc, prefix="doc-"): doc
|
||||
for doc in input
|
||||
}
|
||||
contents = {compute_mdhash_id(doc, prefix="doc-"): doc for doc in input}
|
||||
|
||||
# 2. Remove duplicate contents
|
||||
unique_contents = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user