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
enh: allow dangerous sandbox to be set with an environment variable (#5958)
Akshay Agrawal5edd74518b25
diff --git a/marimo/_cli/cli.py b/marimo/_cli/cli.pyindex 7d3f1e6de3..6be34c9da6 100644--- a/marimo/_cli/cli.py+++ b/marimo/_cli/cli.py@@ -488,6 +488,12 @@ def edit()return+ # Dangerous sandbox can be forced on by setting an environment variable;+ # this allows our VS Code extension to force sandbox regardless of the+ # marimo version.+ if sandbox and os.getenv("MARIMO_DANGEROUS_SANDBOX"):+ dangerous_sandbox = True+if dangerous_sandbox and (name is None or os.path.isdir(name)):sandbox = Trueclick.echo(