chore: adds self to cogneegraph edges

This commit is contained in:
hajdul88 2024-11-27 11:42:35 +01:00
parent c30683e20e
commit 94dc545fcd

View file

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