Revert "Cleanup of code"
This commit is contained in:
@@ -198,6 +198,10 @@ class BaseGraphStorage(StorageNameSpace, ABC):
|
||||
) -> tuple[np.ndarray[Any, Any], list[str]]:
|
||||
"""Get all labels in the graph."""
|
||||
|
||||
@abstractmethod
|
||||
async def get_all_labels(self) -> list[str]:
|
||||
"""Get a knowledge graph of a node."""
|
||||
|
||||
@abstractmethod
|
||||
async def get_knowledge_graph(
|
||||
self, node_label: str, max_depth: int = 5
|
||||
|
Reference in New Issue
Block a user