diff --git a/main.py b/main.py index b461053..515bc45 100644 --- a/main.py +++ b/main.py @@ -803,10 +803,9 @@ async def fastapi_set_pipe_status(network: str, pipe: str, status: str) -> Chang print(status) print(ps) - #ret = set_pipe(network, ChangeSet(ps)) - #print(ret) - #return ret - return status + ret = set_pipe(network, ChangeSet(ps)) + print(ret) + return ret @app.get("/getpipeproperties/") async def fastapi_get_pipe_properties(network: str, pipe: str) -> dict[str, Any]: