Delete duplicate route (#14883)

### What problem does this PR solve?

The delete /graph is duplicated of
`/datasets/<dataset_id>/<index_type>`, delete it.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Wang Qi
2026-05-13 15:57:44 +08:00
committed by GitHub
parent 09e1fd290a
commit ff685d3131
2 changed files with 4 additions and 18 deletions

View File

@@ -50,4 +50,4 @@ class TestKnowledgeGraph:
dataset_id = add_dataset_func
res = delete_knowledge_graph(HttpApiAuth, dataset_id)
assert res["code"] == 0, res
assert res["data"] is True, res
assert res["data"] is not None, res