Change minor_loss to minorloss
This commit is contained in:
4
main.py
4
main.py
@@ -311,8 +311,8 @@ def fastapi_set_tank_coord(name: str, tank: str, x: float, y: float) -> ChangeSe
|
||||
############################################################
|
||||
|
||||
@app.post("/addpipe/")
|
||||
def fastapi_add_pipe(name: 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:
|
||||
return add_pipe(name, pipe, node1, node2, length, diameter, roughness, minor_loss, status)
|
||||
def fastapi_add_pipe(name: str, pipe: str, node1: str, node2: str, length: float = 0, diameter: float = 0, roughness: float = 0, minorloss: float = 0, status: str = PIPE_STATUS_OPEN) -> ChangeSet:
|
||||
return add_pipe(name, pipe, node1, node2, length, diameter, roughness, minorloss, status)
|
||||
|
||||
@app.post("/deletepipe/")
|
||||
def fastapi_delete_pipe(name: str, pipe: str) -> ChangeSet:
|
||||
|
||||
Reference in New Issue
Block a user