This commit is contained in:
DingZQ
2025-03-02 19:36:15 +08:00
parent bd21d71be7
commit de0b4403d4

View File

@@ -529,7 +529,7 @@ async def fast_get_all_scada_properties(network: str) -> list[dict[str, Any]]:
# elementtype can be 'node' or 'link' or 'scada'
@app.get('/getelementpropertieswithtype/')
async def fast_get_element_properties_with_type(network: str, elementype: str, element: str) -> dict[str, Any]:
async def fast_get_element_properties_with_type(network: str, elementtype: str, element: str) -> dict[str, Any]:
return get_element_properties_with_type(network, elementtype, element)
# type can be 'node' or 'link' or 'scada'