diff --git a/main.py b/main.py index 9d02593..2dda06b 100644 --- a/main.py +++ b/main.py @@ -54,6 +54,7 @@ async def fastapi_set_extension_data(network: str, req: Request) -> ChangeSet: props = await req.json() print(props) cs = set_extension_data(network, ChangeSet(props)) + print(cs.operations[0]) return cs ############################################################ @@ -245,7 +246,9 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet jo_root = await req.json() cs: ChangeSet = ChangeSet() cs.operations = jo_root['operations'] - return execute_batch_commands(network, cs) + rcs = execute_batch_commands(network, cs) + print(rcs) + return rcs @app.post("/compressedbatch/") async def fastapi_execute_compressed_batch_commands(network: str, req: Request)-> ChangeSet: