Refine
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user