This commit is contained in:
Timothy Jaeryang Baek
2026-03-06 20:12:37 -06:00
parent 7806cd5aef
commit 6d9996e599
78 changed files with 1340 additions and 466 deletions
+1 -4
View File
@@ -325,14 +325,11 @@ class FunctionsTable:
.filter(Function.id.in_(ids))
.all()
)
return {
f.id: (f.valves if f.valves else {}) for f in functions
}
return {f.id: (f.valves if f.valves else {}) for f in functions}
except Exception as e:
log.exception(f"Error batch-fetching function valves: {e}")
return {}
def update_function_valves_by_id(
self, id: str, valves: dict, db: Optional[Session] = None
) -> Optional[FunctionValves]: