From 7263a1ccf9ba1e24aaf046e752da55f97a803a4b Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 18 May 2025 07:17:21 +0800 Subject: [PATCH] Fix linting --- examples/graph_visual_with_neo4j.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/graph_visual_with_neo4j.py b/examples/graph_visual_with_neo4j.py index 637cb36d..1cd2e7a3 100644 --- a/examples/graph_visual_with_neo4j.py +++ b/examples/graph_visual_with_neo4j.py @@ -13,6 +13,7 @@ NEO4J_URI = "bolt://localhost:7687" NEO4J_USERNAME = "neo4j" NEO4J_PASSWORD = "your_password" + def xml_to_json(xml_file): try: tree = ET.parse(xml_file) @@ -61,7 +62,6 @@ def xml_to_json(xml_file): } data["edges"].append(edge_data) - # Print the number of nodes and edges found print(f"Found {len(data['nodes'])} nodes and {len(data['edges'])} edges")