This commit is contained in:
DingZQ
2023-05-02 22:17:58 +08:00
parent 19cfd21e81
commit 8bceb014c3

View File

@@ -88,7 +88,7 @@ async def fastapi_import_inp(network: str, req: Request):
async def fastapi_export_inp(network: str) -> ChangeSet:
cs = export_inp(network)
op = cs.operations[0]
op['vertices'] = str(get_all_vertices(network))
op['vertex'] = str(get_all_vertices(network))
op['scada'] = str(get_all_scada_elements(network))
return cs