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
update
Myles Scolnick04ba9be5057e
diff --git a/frontend/src/core/codemirror/language/__tests__/extension.test.ts b/frontend/src/core/codemirror/language/__tests__/extension.test.tsindex 45ff2348bd..4dded16d90 100644--- a/frontend/src/core/codemirror/language/__tests__/extension.test.ts+++ b/frontend/src/core/codemirror/language/__tests__/extension.test.ts@@ -1,5 +1,5 @@/* Copyright 2024 Marimo. All rights reserved. */-import { beforeAll, describe, expect, it } from "vitest";+import { describe, expect, it } from "vitest";import {adaptiveLanguageConfiguration,getInitialLanguageAdapter,@@ -8,8 +8,6 @@ import {} from "../extension";import { EditorState } from "@codemirror/state";import { OverridingHotkeyProvider } from "@/core/hotkeys/hotkeys";-import { store } from "@/core/state/jotai";-import { capabilitiesAtom } from "@/core/config/capabilities";import { EditorView } from "@codemirror/view";import type { CellId } from "@/core/cells/ids";import { cellConfigExtension } from "../../config/extension";@@ -45,13 +43,6 @@ function createState(content: string, selection?: { anchor: number }) {}describe("getInitialLanguageAdapter", () => {- beforeAll(() => {- store.set(capabilitiesAtom, {- sql: true,- terminal: true,- });- });-it("should return python", () => {let state = createState("def f():\n return 1");expect(getInitialLanguageAdapter(state).type).toBe("python");diff --git a/frontend/src/core/codemirror/language/__tests__/sql.test.ts b/frontend/src/core/codemirror/language/__tests__/sql.test.tsindex d9391d54d9..f92ab5a9bf 100644--- a/frontend/src/core/codemirror/language/__tests__/sql.test.ts+++ b/frontend/src/core/codemirror/language/__tests__/sql.test.ts@@ -1,16 +1,7 @@/* Copyright 2024 Marimo. All rights reserved. */-import {- expect,- describe,- it,- beforeAll,- afterAll,- afterEach,- beforeEach,-} from "vitest";+import { expect, describe, it, afterAll, afterEach, beforeEach } from "vitest";import { SQLCompletionStore, SQLLanguageAdapter } from "../sql";import { store } from "@/core/state/jotai";-import { capabilitiesAtom } from "@/core/config/capabilities";import {dataSourceConnectionsAtom,DEFAULT_ENGINE,@@ -22,13 +13,6 @@ import { PostgreSQL } from "@codemirror/lang-sql";const adapter = new SQLLanguageAdapter();describe("SQLLanguageAdapter", () => {- beforeAll(() => {- store.set(capabilitiesAtom, {- sql: true,- terminal: true,- });- });-describe("transformIn", () => {afterAll(() => {adapter.engine = DEFAULT_ENGINE;