This commit is contained in:
DingZQ
2025-04-17 21:00:31 +08:00
parent 510fe520e8
commit 52097bb58c
2 changed files with 2 additions and 2 deletions

View File

@@ -2203,7 +2203,7 @@ async def fastapi_get_all_schemes(network: str) -> list[dict[Any, Any]]:
# pipe_risk_probability 41
############################################################
@app.get('/getpiperiskprobabilitynow/')
async def fastapi_get_pipe_risk_probability_now(network: str, pipe_id: str) -> dict[str, float]:
async def fastapi_get_pipe_risk_probability_now(network: str, pipe_id: str) -> dict[str, Any]:
return get_pipe_risk_probability_now(network, pipe_id)