MCPcopy
hub / github.com/marimo-team/marimo / _

Function _

marimo/_smoke_tests/sql/parse_errors.py:8–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7@app.cell
8def _():
9 import duckdb
10 import marimo as mo
11 import json
12
13 JSON_SERIALIZE_QUERY = "SELECT JSON_SERIALIZE_SQL(?, skip_null := true, skip_empty := true, skip_default := true, format := true)"
14
15
16 def parse(query):
17 return json.loads(
18 duckdb.execute(JSON_SERIALIZE_QUERY, [query]).fetchone()[0]
19 )
20 return mo, parse
21
22
23@app.cell

Callers

nothing calls this directly

Calls 3

parseFunction · 0.70
tableMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected