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']
|
jo_operations = jo_root['operations']
|
||||||
print(jo_operations)
|
print(jo_operations)
|
||||||
print(type(jo_operations))
|
print(type(jo_operations))
|
||||||
cs: ChangeSet = ChangeSet({})
|
cs: ChangeSet = ChangeSet()
|
||||||
for jo in jo_operations:
|
cs.operations = jo_operations
|
||||||
print(jo)
|
|
||||||
print(type(jo))
|
|
||||||
cs.append(jo)
|
|
||||||
|
|
||||||
print(cs)
|
print(cs)
|
||||||
print(type(cs))
|
print(type(cs))
|
||||||
ops = cs.operations
|
ops = cs.operations
|
||||||
|
|||||||
Reference in New Issue
Block a user