- Replaced the function getcwd() for path.dirname(__file__) as a safer solution to get the current folder - Created functions to fetch devices using either id or account id - Created function get_setting_by_device_id_and_setting_version_hash to fetch a skill setting using the setting version hash and the device id The last function hits multiple tables and to avoid trigger a lot of queries we: - use a single query to fetch all sections for a given skill and device; - use a single query to fetch all settings passing the list of section ids from the previous step; - use a single query to fetch all skill settings for a given device and skill |
||
---|---|---|
backend | ||
frontend/internet | ||
.gitignore | ||
README.md |
README.md
selene
Microservices and web apps to support Mycroft devices