Refine
This commit is contained in:
3
main.py
3
main.py
@@ -1575,11 +1575,8 @@ async def fastapi_delete_region(network: str, req: Request) -> ChangeSet:
|
||||
async def fastapi_calculate_district_metering_area_for_nodes(network: str, req: Request) -> list[list[str]]:
|
||||
props = await req.json()
|
||||
nodes = props['nodes']
|
||||
print(nodes)
|
||||
part_count = props['part_count']
|
||||
print(part_count)
|
||||
part_type = props['part_type']
|
||||
print(part_type)
|
||||
return calculate_district_metering_area_for_nodes(network, nodes, part_count, part_type)
|
||||
|
||||
@app.get('/calculatedistrictmeteringareaforregion/')
|
||||
|
||||
Reference in New Issue
Block a user