print add pipe meg

This commit is contained in:
DingZQ
2022-10-16 11:51:30 +08:00
parent 01efc2136c
commit 4dc3657c34

View File

@@ -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,