From 0ed1bb6af2a08f19bfc78b070eb81364d914b0a4 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 13 May 2023 09:39:39 +0800 Subject: [PATCH] Refine --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 2dda06b..716fafe 100644 --- a/main.py +++ b/main.py @@ -244,8 +244,10 @@ async def fastapi_sync_with_server(network: str, operation: int) -> ChangeSet: @app.post("/batch/") async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet: jo_root = await req.json() + print(jo_root) cs: ChangeSet = ChangeSet() cs.operations = jo_root['operations'] + print(cs) rcs = execute_batch_commands(network, cs) print(rcs) return rcs