This commit is contained in:
DingZQ
2023-05-15 23:39:32 +08:00
parent 2dab018ec5
commit 76f3021d46

View File

@@ -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/')