Refine
This commit is contained in:
6
main.py
6
main.py
@@ -1826,13 +1826,7 @@ async def fastapi_convert_v3_to_v2(req: Request) -> ChangeSet:
|
||||
network = 'v3Tov2'
|
||||
jo_root = await req.json()
|
||||
inp = jo_root['inp']
|
||||
|
||||
print(inp)
|
||||
|
||||
cs = convert_inp_v3_to_v2(inp)
|
||||
|
||||
print(cs)
|
||||
|
||||
op = cs.operations[0]
|
||||
open_project(network)
|
||||
op['vertex'] = json.dumps(get_all_vertices(network))
|
||||
|
||||
Reference in New Issue
Block a user