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: ignore vscode bindings in pyodide (#875)
Myles Scolnick32ff44199601
diff --git a/frontend/src/core/vscode/vscode-bindings.ts b/frontend/src/core/vscode/vscode-bindings.tsindex 176400bf3e..65384ce94c 100644--- a/frontend/src/core/vscode/vscode-bindings.ts+++ b/frontend/src/core/vscode/vscode-bindings.ts@@ -1,6 +1,7 @@/* Copyright 2024 Marimo. All rights reserved. */import { Logger } from "@/utils/Logger";+import { isPyodide } from "../pyodide/utils";export const isEmbedded =// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope@@ -10,7 +11,7 @@ export const isEmbedded =// we have to dispatch keyboard events in the parent window.// See https://github.com/microsoft/vscode/issues/65452#issuecomment-586036474export function maybeRegisterVSCodeBindings() {- if (!isEmbedded) {+ if (!isEmbedded || isPyodide()) {return;}Logger.log("Registering VS Code bindings");