Refine
This commit is contained in:
3
main.py
3
main.py
@@ -2016,7 +2016,8 @@ async def fastapi_calculate_demand_to_network(network: str, demand: float) -> di
|
||||
############################################################
|
||||
@app.get('/getscadainfoschema/')
|
||||
async def fastapi_get_scada_info_schema(network: str) -> dict[str, dict[str, Any]]:
|
||||
return api.get_scada_info_schema(network)
|
||||
#return api.get_scada_info_schema(network)
|
||||
return {}
|
||||
|
||||
@app.get('/getscadainfo/')
|
||||
async def fastapi_get_scada_info(network: str, id: str) -> dict[str, float]:
|
||||
|
||||
Reference in New Issue
Block a user