This commit is contained in:
DingZQ
2023-09-20 00:19:55 +08:00
parent d190a838bf
commit f016182562

View File

@@ -803,10 +803,9 @@ async def fastapi_set_pipe_status(network: str, pipe: str, status: str) -> Chang
print(status) print(status)
print(ps) print(ps)
#ret = set_pipe(network, ChangeSet(ps)) ret = set_pipe(network, ChangeSet(ps))
#print(ret) print(ret)
#return ret return ret
return status
@app.get("/getpipeproperties/") @app.get("/getpipeproperties/")
async def fastapi_get_pipe_properties(network: str, pipe: str) -> dict[str, Any]: async def fastapi_get_pipe_properties(network: str, pipe: str) -> dict[str, Any]: