Refine
This commit is contained in:
6
main.py
6
main.py
@@ -527,10 +527,10 @@ async def fast_get_scada_properties(network: str, scada: str) -> dict[str, Any]:
|
||||
async def fast_get_all_scada_properties(network: str) -> list[dict[str, Any]]:
|
||||
return get_all_scada_info(network)
|
||||
|
||||
# type can be 'node' or 'link' or 'scada'
|
||||
# elementtype can be 'node' or 'link' or 'scada'
|
||||
@app.get('/getelementpropertieswithtype/')
|
||||
async def fast_get_element_properties_with_type(network: str, type: str, element: str) -> dict[str, Any]:
|
||||
return get_element_properties_with_type(network, type, element)
|
||||
async def fast_get_element_properties_with_type(network: str, elementype: str, element: str) -> dict[str, Any]:
|
||||
return get_element_properties_with_type(network, elementtype, element)
|
||||
|
||||
# type can be 'node' or 'link' or 'scada'
|
||||
@app.get('/getelementproperties/')
|
||||
|
||||
Reference in New Issue
Block a user