From 94dc545fcd904f44083af3bb564a5a8a81a97108 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:42:35 +0100 Subject: [PATCH] chore: adds self to cogneegraph edges --- cognee/modules/graph/cognee_graph/CogneeGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/modules/graph/cognee_graph/CogneeGraph.py b/cognee/modules/graph/cognee_graph/CogneeGraph.py index 3f0d48a23..715b8260e 100644 --- a/cognee/modules/graph/cognee_graph/CogneeGraph.py +++ b/cognee/modules/graph/cognee_graph/CogneeGraph.py @@ -50,7 +50,7 @@ class CogneeGraph(CogneeAbstractGraph): raise ValueError(f"Node with id {node_id} does not exist.") def get_edges(self)-> List[Edge]: - return edges + return self.edges async def project_graph_from_db(self, adapter: Union[GraphDBInterface],