Mark get_all_labels method as deprecated in BaseGraphStorage

This commit is contained in:
yangdx 2025-09-22 18:24:10 +08:00
parent 6b3a341977
commit 55774bf394

View file

@ -629,6 +629,7 @@ class BaseGraphStorage(StorageNameSpace, ABC):
edges: List of edges to be deleted, each edge is a (source, target) tuple
"""
# TODO: deprecated
@abstractmethod
async def get_all_labels(self) -> list[str]:
"""Get all labels in the graph.