Refine CS
This commit is contained in:
8
main.py
8
main.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user