print add pipe meg
This commit is contained in:
2
main.py
2
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,
|
||||
|
||||
Reference in New Issue
Block a user