Skip to content

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.

chore: move max_columns to avoid breaking change (#3010)

Myles Scolnick064e07ecbc89
diff --git a/marimo/_plugins/ui/_impl/table.py b/marimo/_plugins/ui/_impl/table.py
index 9f5a17200b..8c2dee6f8b 100644
--- a/marimo/_plugins/ui/_impl/table.py
+++ b/marimo/_plugins/ui/_impl/table.py
@@ -223,7 +223,6 @@ class table(UIElement[List[str], Union[List[JSONType], IntoDataFrame]]):
pagination: Optional[bool] = None,
selection: Optional[Literal["single", "multi"]] = "multi",
page_size: int = 10,
- max_columns: Optional[int] = 50,
show_column_summaries: Optional[bool] = None,
format_mapping: Optional[
Dict[str, Union[str, Callable[..., Any]]]
@@ -235,6 +234,7 @@ class table(UIElement[List[str], Union[List[JSONType], IntoDataFrame]]):
] = None,
wrapped_columns: Optional[List[str]] = None,
show_download: bool = True,
+ max_columns: Optional[int] = 50,
*,
label: str = "",
on_change: Optional[