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.

improvement: update hash in url when running in wasm

Myles Scolnick61a8dd7a8bca
diff --git a/frontend/src/core/pyodide/bridge.ts b/frontend/src/core/pyodide/bridge.ts
index f5101a2ee6..fe354d44d6 100644
--- a/frontend/src/core/pyodide/bridge.ts
+++ b/frontend/src/core/pyodide/bridge.ts
@@ -133,6 +133,7 @@ export class PyodideBridge implements RunRequests, EditRequests {
});
const code = await this.readCode();
if (code.contents) {
+ notebookFileStore.saveFile(code.contents);
fallbackFileStore.saveFile(code.contents);
}
return null;