Order demand, pattern and curve
This commit is contained in:
@@ -10,7 +10,7 @@ def get_demand_schema(name: str) -> dict[str, dict[str, Any]]:
|
||||
|
||||
|
||||
def get_demand(name: str, junction: str) -> dict[str, Any]:
|
||||
des = read_all(name, f"select * from demands where junction = '{junction}'")
|
||||
des = read_all(name, f"select * from demands where junction = '{junction}' order by _order")
|
||||
ds = []
|
||||
for r in des:
|
||||
d = {}
|
||||
|
||||
Reference in New Issue
Block a user