添加native.api源码;临时处理run_simulation中iot数据库name的判断
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
from .database import *
|
||||
from .s0_base import *
|
||||
from .s42_sensor_placement import *
|
||||
import json
|
||||
|
||||
def get_all_sensor_placements(name: str) -> list[dict[Any, Any]]:
|
||||
return read_all(name, "select * from sensor_placement")
|
||||
Reference in New Issue
Block a user