From 4dc3657c3407d66ebbeb03dc730198be37806e64 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sun, 16 Oct 2022 11:51:30 +0800 Subject: [PATCH] print add pipe meg --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 54738fc..484de30 100644 --- a/main.py +++ b/main.py @@ -525,6 +525,8 @@ async def fast_get_pipe_schema(network: str) -> dict[str, dict[str, Any]]: @app.post("/addpipe/") async def fastapi_add_pipe(network: str, pipe: str, node1: str, node2: str, length: float = 0, diameter: float = 0, roughness: float = 0, minor_loss: float = 0, status: str = PIPE_STATUS_OPEN) -> ChangeSet: + print('add pipe add pipe') + ps = { 'id' : pipe, 'node1' : node1, 'node2' : node2,