This commit is contained in:
DingZQ
2024-12-28 17:27:00 +08:00
parent 4e9c5ed551
commit 69978c9868
2 changed files with 8 additions and 7 deletions

View File

@@ -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))