Refine
This commit is contained in:
2
main.py
2
main.py
@@ -1434,7 +1434,7 @@ async def fastapi_clean_scada_device(network: str) -> ChangeSet:
|
||||
async def fastapi_get_all_scada_device_ids(network: str) -> list[str]:
|
||||
return get_all_scada_device_ids(network)
|
||||
|
||||
@app.get('/getallscadadevices/', response_class = PlainTextResponse))
|
||||
@app.get('/getallscadadevices/', response_class = PlainTextResponse)
|
||||
async def fastapi_get_all_scada_devices(network: str) -> list[dict[str, Any]]:
|
||||
return json.dumps(get_all_scada_devices(network))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user