Print request

This commit is contained in:
DingZQ
2022-10-15 17:18:08 +08:00
parent 5203cb9989
commit edbe03a759

View File

@@ -98,7 +98,9 @@ def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
@app.post("/batch/")
def fastapi_execute_batch_commands(network: str, request: Request) -> ChangeSet:
print(request)
jsTxt = request.json()
print(jsTxt)
joOps = json.loads(jsTxt)['operations']
cs:ChangeSet = ChangeSet({})
for js in joOps: