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.

docs: remove stale parameters from docstrings (#10072)

eeshsaxenae769a3df6f5e
diff --git a/marimo/_mcp/server/main.py b/marimo/_mcp/server/main.py
index 52bbd3a9ff..7125e9fa28 100644
--- a/marimo/_mcp/server/main.py
+++ b/marimo/_mcp/server/main.py
@@ -29,12 +29,7 @@ def setup_mcp_server(app: Starlette, allow_remote: bool = False) -> None:
Args:
app: Starlette application instance for accessing marimo state
- server_name: Name for the MCP server instance
- stateless_http: Whether to use stateless HTTP mode
allow_remote: If True, disable DNS rebinding protection to allow remote access behind proxies.
-
- Returns:
- StreamableHTTPSessionManager: MCP session manager
"""
if not DependencyManager.mcp.has():
raise MarimoCLIMissingDependencyError(
diff --git a/marimo/_session/notebook/serializer.py b/marimo/_session/notebook/serializer.py
index c7fe68d010..92345b4488 100644
--- a/marimo/_session/notebook/serializer.py
+++ b/marimo/_session/notebook/serializer.py
@@ -20,8 +20,6 @@ class NotebookSerializer(Protocol):
Args:
notebook: Notebook in intermediate representation
- path: Target file path
- previous_path: Previous file path (for format conversions)
Returns:
Serialized notebook content as string
diff --git a/marimo/_sql/utils.py b/marimo/_sql/utils.py
index dadc778357..ef3cf6e891 100644
--- a/marimo/_sql/utils.py
+++ b/marimo/_sql/utils.py
@@ -235,7 +235,6 @@ def convert_to_output(
"""Convert a result to the specified output format.
Args:
- result (Any): The result to convert.
sql_output_format (SqlOutputType): The output format to convert to.
to_polars (Callable[[], Any]): A function to convert the result to polars.
to_pandas (Callable[[], Any]): A function to convert the result to pandas.