Use append to add dict to cs
This commit is contained in:
2
main.py
2
main.py
@@ -107,7 +107,7 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet
|
|||||||
for jo in jo_operations:
|
for jo in jo_operations:
|
||||||
print(jo)
|
print(jo)
|
||||||
print(type(jo))
|
print(type(jo))
|
||||||
cs.add(jo)
|
cs.append(jo)
|
||||||
return execute_batch_commands(network, cs)
|
return execute_batch_commands(network, cs)
|
||||||
|
|
||||||
# node
|
# node
|
||||||
|
|||||||
Reference in New Issue
Block a user