I can apply formulas

This commit is contained in:
2026-02-15 19:55:22 +01:00
parent 27f12b2c32
commit f3e19743c8
6 changed files with 48 additions and 17 deletions

View File

@@ -96,7 +96,9 @@ class FormulaEngine:
# Registers in DAG and raises FormulaCycleError if cycle detected
self._graph.add_formula(table, col, formula)
self._formulas[(table, col)] = formula
# Mark dirty so the column is computed on the next render
self._graph.mark_dirty(table, col)
logger.debug("Formula set for %s.%s: %s", table, col, formula_text)
def remove_formula(self, table: str, col: str) -> None: