A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: added exception handling to _style_cells (#9101)
Kiran Gadhave6141db7643f8
diff --git a/marimo/_plugins/ui/_impl/table.py b/marimo/_plugins/ui/_impl/table.pyindex 7b778ff6b2..7cd780750d 100644--- a/marimo/_plugins/ui/_impl/table.py+++ b/marimo/_plugins/ui/_impl/table.py@@ -1360,9 +1360,18 @@ class table(row_values = lookup.get(row_str, {})row_styles: dict[str, dict[str, Any]] = {}for col in columns:- row_styles[col] = self._style_cell(- row_str, col, row_values.get(col)- )+ try:+ row_styles[col] = self._style_cell(+ row_str, col, row_values.get(col)+ )+ except BaseException as e:+ LOGGER.warning(+ "Failed to compute style for %s:%s: %s",+ row_str,+ col,+ e,+ )+ row_styles[col] = {}result[row_str] = row_stylesreturn result