From d7d291217b7787ac5ebb065307c03c8ce8005a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1nos=20Benjamin=20Antal?= Date: Thu, 7 Oct 2021 09:14:05 +0200 Subject: [PATCH] Remove debug print (#251) --- query_modules/example.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/query_modules/example.py b/query_modules/example.py index 54fd52982..7a71d6423 100644 --- a/query_modules/example.py +++ b/query_modules/example.py @@ -56,7 +56,10 @@ def procedure(context: mgp.ProcCtx, @mgp.write_proc -def write_procedure(context: mgp.ProcCtx, property_name: str, property_value: mgp.Nullable[mgp.Any]) -> mgp.Record(created_vertex=mgp.Vertex): +def write_procedure(context: mgp.ProcCtx, + property_name: str, + property_value: mgp.Nullable[mgp.Any] + ) -> mgp.Record(created_vertex=mgp.Vertex): """ This example procedure creates a new vertex with the specified property and connects it to all existing vertex which has the same property with @@ -86,7 +89,6 @@ def write_procedure(context: mgp.ProcCtx, property_name: str, property_value: mg vertex.properties.set(property_name, property_value) # Connect the new vertex to the other vertices for v in vertices_to_connect: - print("ALMA") context.graph.create_edge(vertex, v, mgp.EdgeType("HAS_SAME_VALUE")) return mgp.Record(created_vertex=vertex)