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