This commit is contained in:
DingZQ
2025-04-17 21:23:23 +08:00
parent 4a2f1fc103
commit f675ec00de
3 changed files with 3 additions and 3 deletions

View File

@@ -259,7 +259,7 @@ def get_region_type(name: str, id: str)->str:
return type
def get_network_pipe_risk_probability_now(name: str) -> dict[str, Any]:
def get_network_pipe_risk_probability_now(name: str) -> list[dict[str, Any]]:
pipe_risk_probability_list = []
with conn[name].cursor(row_factory=dict_row) as cur:
cur.execute(f"select * from pipe_risk_probability")