diff --git a/main.py b/main.py index 2bf1abc..6627319 100644 --- a/main.py +++ b/main.py @@ -799,7 +799,9 @@ async def fastapi_set_pipe_minor_loss(network: str, pipe: str, minor_loss: float async def fastapi_set_pipe_status(network: str, pipe: str, status: str) -> ChangeSet: ps = { 'id' : pipe, 'status' : status } - return set_pipe(network, ChangeSet(ps)) + 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]: