From 63d554bad8dc18bbe4ec361367099a565ff0afc0 Mon Sep 17 00:00:00 2001 From: DavIvek Date: Thu, 10 Jul 2025 16:57:13 +0200 Subject: [PATCH] run pre-commit --- lightrag/kg/memgraph_impl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lightrag/kg/memgraph_impl.py b/lightrag/kg/memgraph_impl.py index 77e45a06..dc78ca19 100644 --- a/lightrag/kg/memgraph_impl.py +++ b/lightrag/kg/memgraph_impl.py @@ -448,7 +448,9 @@ class MemgraphStorage(BaseGraphStorage): properties = node_data entity_type = properties["entity_type"] if "entity_id" not in properties: - raise ValueError("Memgraph: node properties must contain an 'entity_id' field") + raise ValueError( + "Memgraph: node properties must contain an 'entity_id' field" + ) try: async with self._driver.session(database=self._DATABASE) as session: