Add delete method

This commit is contained in:
LarFii
2024-11-11 17:48:40 +08:00
parent 319de6fece
commit 4c0352ee2b
6 changed files with 100 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ class BaseGraphStorage(StorageNameSpace):
):
raise NotImplementedError
async def clustering(self, algorithm: str):
async def delete_node(self, node_id: str):
raise NotImplementedError
async def embed_nodes(self, algorithm: str) -> tuple[np.ndarray, list[str]]: