Refine CS

This commit is contained in:
DingZQ
2022-10-15 18:02:15 +08:00
parent 6b92952d96
commit 56d5e7f6a1

View File

@@ -103,12 +103,8 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet
jo_operations = jo_root['operations']
print(jo_operations)
print(type(jo_operations))
cs: ChangeSet = ChangeSet({})
for jo in jo_operations:
print(jo)
print(type(jo))
cs.append(jo)
cs: ChangeSet = ChangeSet()
cs.operations = jo_operations
print(cs)
print(type(cs))
ops = cs.operations