feat: add count_nodes and count_edges methods to GraphDBInterface

This commit is contained in:
Daulet Amirkhanov 2025-10-15 16:03:17 +01:00
parent c73e8964a1
commit 8692cd1338

View file

@ -159,6 +159,14 @@ class GraphDBInterface(ABC):
- get_connections
"""
@abstractmethod
async def count_nodes(self) -> int:
raise NotImplementedError
@abstractmethod
async def count_edges(self) -> int:
raise NotImplementedError
@abstractmethod
async def query(self, query: str, params: dict) -> List[Any]:
"""