From fbb7d72461b798adfd19c07667d9f71a84e9b5b8 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Mon, 18 Aug 2025 13:24:14 +0200 Subject: [PATCH] fix: ruff formatting --- cognee/tasks/storage/add_data_points.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cognee/tasks/storage/add_data_points.py b/cognee/tasks/storage/add_data_points.py index a29f5a5f7..68e6404f8 100644 --- a/cognee/tasks/storage/add_data_points.py +++ b/cognee/tasks/storage/add_data_points.py @@ -10,7 +10,6 @@ from cognee.tasks.storage.exceptions import ( ) - async def add_data_points( data_points: List[DataPoint], update_edge_collection=True ) -> List[DataPoint]: @@ -41,8 +40,11 @@ async def add_data_points( - Inserts nodes and edges into the graph engine. - Optionally updates the edge index via `index_graph_edges`. """ - -async def add_data_points(data_points: List[DataPoint], update_edge_collection: bool = True) -> List[DataPoint]: + + +async def add_data_points( + data_points: List[DataPoint], update_edge_collection: bool = True +) -> List[DataPoint]: if not isinstance(data_points, list): raise InvalidDataPointsInAddDataPointsError("data_points must be a list.") if not all(isinstance(dp, DataPoint) for dp in data_points):