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
docs: run notebooks as scripts example (#4554)
Akshay Agrawal4e368ef0940a
diff --git a/docs/examples/index.md b/docs/examples/index.mdindex d14bf59a64..e934193166 100644--- a/docs/examples/index.md+++ b/docs/examples/index.md@@ -34,6 +34,8 @@ cells](../guides/reactivity.md).- 🐞 [**Using the debugger**](running_cells/debugging.md)+- 🐍 [**Run notebooks as scripts**](../guides/scripts.md)+</div>## Visual Outputsdiff --git a/marimo/_runtime/control_flow.py b/marimo/_runtime/control_flow.pyindex 17dd56a517..6575df1e34 100644--- a/marimo/_runtime/control_flow.py+++ b/marimo/_runtime/control_flow.py@@ -38,7 +38,7 @@ def stop(predicate: bool, output: Optional[object] = None) -> None:```Raises:- When `predicate` is `True`, raises a `MarimoStopError`.+ MarimoStopError: When `predicate` is `True`, raises a `MarimoStopError`."""if predicate:raise MarimoStopError(output)