From 2f474b160f8e7330edcf504357d9f1d8d2b81ecb Mon Sep 17 00:00:00 2001 From: DingZQ Date: Fri, 21 Oct 2022 19:59:59 +0800 Subject: [PATCH] Print operations --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 36381de..174cb82 100644 --- a/main.py +++ b/main.py @@ -105,6 +105,10 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet jo_root = await req.json() cs: ChangeSet = ChangeSet() cs.operations = jo_root['operations'] + + print(cs.operations) + print(cs) + return execute_batch_commands(network, cs) # node