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
standardize (y/n) prompt defaults (#9492)
Ralph Torrese5ea6c7cc369
diff --git a/marimo/_ai/text_to_notebook.py b/marimo/_ai/text_to_notebook.pyindex 24d2f36ba3..8fa49235ae 100644--- a/marimo/_ai/text_to_notebook.py+++ b/marimo/_ai/text_to_notebook.py@@ -49,7 +49,7 @@ def text_to_notebook(prompt: str) -> str:if _should_show_terms(state.accepted_text_to_notebook_terms_at):# User hasn't accepted termsprint_(bold(TERMS))- print_(bold("Do you accept these terms? (y/n)"))+ print_(bold("Do you accept these terms? (y/N)"))response = input().strip().lower()if response != "y":diff --git a/marimo/_server/api/interrupt.py b/marimo/_server/api/interrupt.pyindex d4eb7d0504..c1cab9ab5b 100644--- a/marimo/_server/api/interrupt.py+++ b/marimo/_server/api/interrupt.py@@ -70,7 +70,7 @@ class InterruptHandler:returnresponse = input(- f"\r{TAB}Are you sure you want to quit? (y/n): "+ f"\r{TAB}Are you sure you want to quit? (y/N): ")self._time_of_last_confirmation = time.time()if response.lower().strip() == "y":