Add API getcurrentoperationid

This commit is contained in:
DingZQ
2022-09-21 21:02:35 +08:00
parent aa1c967812
commit 886b37630c

View File

@@ -79,6 +79,10 @@ async def fastapi_redo(network: str):
return True
@app.get("/getcurrentoperationid/")
async def fastapi_get_current_operaiton_id(network: str) -> int:
return get_current_operation(network)
# node
@app.get("/getnodes/")
async def fastapi_get_nodes(network: str) -> list[str]: