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: infinite loop in parseUserConfig
Myles Scolnick8667c05902c3
diff --git a/frontend/src/core/config/config-schema.ts b/frontend/src/core/config/config-schema.tsindex 86b3504fce..e48b17010a 100644--- a/frontend/src/core/config/config-schema.ts+++ b/frontend/src/core/config/config-schema.ts@@ -99,12 +99,16 @@ export function parseAppConfig() {}export function parseUserConfig(): UserConfig {- try {- // For Pyodide, we use the local storage to store the user config.- if (isPyodide()) {- return UserConfigLocalStorage.get();- }+ // For Pyodide, we use the local storage to store the user config.+ if (isPyodide()) {+ return UserConfigLocalStorage.get();+ }+ return parseUserConfigDOM();+}++function parseUserConfigDOM(): UserConfig {+ try {const parsed = UserConfigSchema.parse(JSON.parse(getRawMarimoUserConfig()));for (const [key, value] of Object.entries(parsed.experimental)) {if (value === true) {@@ -123,7 +127,7 @@ export function parseUserConfig(): UserConfig {export const UserConfigLocalStorage = new ZodLocalStorage<UserConfig>("marimo:user-config",UserConfigSchema,- () => parseUserConfig(),+ () => parseUserConfigDOM(),);function setFeatureFlag(