Refine
This commit is contained in:
2
main.py
2
main.py
@@ -89,7 +89,9 @@ async def fastapi_export_inp(network: str) -> ChangeSet:
|
||||
cs = export_inp(network)
|
||||
op = cs.operations[0]
|
||||
op['vertex'] = str(get_all_vertices(network))
|
||||
print(op['vertex'])
|
||||
op['scada'] = str(get_all_scada_elements(network))
|
||||
print(op['scada'])
|
||||
return cs
|
||||
|
||||
@app.post("/readinp/")
|
||||
|
||||
Reference in New Issue
Block a user