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
fix: turn autosave off on wasm export (#3162)
Myles Scolnick64b1a6408a4a
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlindex 5c3d23aedc..9d2359ebbc 100644--- a/.github/workflows/pages.yml+++ b/.github/workflows/pages.yml@@ -39,6 +39,7 @@ jobs:- name: 🛠️ Run exportrun: |marimo export html-wasm frontend/public/files/wasm-intro.py -o out --mode run+ sed -i -e "s/after_delay/off/g" out/index.html- name: 📄 List changed filescontinue-on-error: truediff --git a/marimo/_server/export/exporter.py b/marimo/_server/export/exporter.pyindex ad9ce3414a..3f12df5e83 100644--- a/marimo/_server/export/exporter.py+++ b/marimo/_server/export/exporter.py@@ -20,6 +20,7 @@ from marimo._ast.names import DEFAULT_CELL_NAME, is_internal_cell_namefrom marimo._config.config import (DEFAULT_CONFIG,DisplayConfig,+ MarimoConfig,)from marimo._config.settings import GLOBAL_SETTINGSfrom marimo._config.utils import deep_copy@@ -324,8 +325,10 @@ class Exporter:filename = get_filename(file_manager)# We only want to pass the display config in the static notebook- config = deep_copy(DEFAULT_CONFIG)+ config: MarimoConfig = deep_copy(DEFAULT_CONFIG)config["display"] = display_config+ # Remove autosave+ config["save"]["autosave"] = "off"html = wasm_notebook_template(html=index_html,