mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-13 08:34:04 +00:00
Fix linting
This commit is contained in:
parent
f60bad92f0
commit
1697ea4bf6
@ -85,10 +85,10 @@ async def adelete_by_relation(
|
||||
|
||||
# Delete relation from vector database
|
||||
rel_ids_to_delete = [
|
||||
compute_mdhash_id(source_entity + target_entity, prefix="rel-"),
|
||||
compute_mdhash_id(target_entity + source_entity, prefix="rel-"),
|
||||
]
|
||||
|
||||
compute_mdhash_id(source_entity + target_entity, prefix="rel-"),
|
||||
compute_mdhash_id(target_entity + source_entity, prefix="rel-"),
|
||||
]
|
||||
|
||||
await relationships_vdb.delete(rel_ids_to_delete)
|
||||
|
||||
# Delete relation from knowledge graph
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user