Revert "Cleanup of code"

This commit is contained in:
Yannick Stephan
2025-02-20 15:09:43 +01:00
committed by GitHub
parent c431cd584a
commit 678e0f9aea
12 changed files with 84 additions and 7 deletions

View File

@@ -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