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.

fix: in sandbox, skip sandbox prompt if possible (#2445)

Akshay Agrawal7ebcdc6a3ef1
diff --git a/marimo/_cli/sandbox.py b/marimo/_cli/sandbox.py
index 888acebf49..629869559f 100644
--- a/marimo/_cli/sandbox.py
+++ b/marimo/_cli/sandbox.py
@@ -71,6 +71,9 @@ def _read_pyproject(script: str) -> Dict[str, Any] | None:
def prompt_run_in_sandbox(name: str | None) -> bool:
+ if GLOBAL_SETTINGS.MANAGE_SCRIPT_METADATA:
+ return False
+
if name is None:
return False