From 91fd53ed231f1dbade0a330f9e5b8a7a8fc335a2 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Thu, 4 May 2023 20:33:36 +0800 Subject: [PATCH] Refine --- main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.py b/main.py index 733da9f..f2e80a5 100644 --- a/main.py +++ b/main.py @@ -89,13 +89,9 @@ async def fastapi_export_inp(network: str) -> ChangeSet: cs = export_inp(network) op = cs.operations[0] open_project(network) - print(get_all_vertices(network)) op['vertex'] = str(get_all_vertices(network)) - # print(op['vertex']) - print(get_all_scada_element_ids(network)) - print(get_all_scada_elements(network)) + print(op['vertex']) op['scada'] = str(get_all_scada_elements(network)) - # print(op['scada']) close_project(network) return cs