Merge pull request #886 from YanSte/clean-2
removed get_knowledge_graph
This commit is contained in:
@@ -7,7 +7,6 @@ from typing import Any, Union, final
|
||||
import numpy as np
|
||||
import configparser
|
||||
|
||||
from lightrag.types import KnowledgeGraph
|
||||
|
||||
import sys
|
||||
from tenacity import (
|
||||
@@ -1087,11 +1086,6 @@ class PGGraphStorage(BaseGraphStorage):
|
||||
) -> tuple[np.ndarray[Any, Any], list[str]]:
|
||||
raise NotImplementedError
|
||||
|
||||
async def get_knowledge_graph(
|
||||
self, node_label: str, max_depth: int = 5
|
||||
) -> KnowledgeGraph:
|
||||
raise NotImplementedError
|
||||
|
||||
async def drop(self) -> None:
|
||||
"""Drop the storage"""
|
||||
drop_sql = SQL_TEMPLATES["drop_vdb_entity"]
|
||||
|
Reference in New Issue
Block a user