Skip to content

Commit 4f6019b

Browse files
committed
Fix depr
1 parent 6ffe939 commit 4f6019b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/projspec/webui/ipywidget.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@
124124
try { el.removeChild(root); } catch {}
125125
};
126126
}
127+
128+
// AFM spec requires a default export; the named `render` export is
129+
// deprecated in anywidget ≥ 0.9.13 and not recognised by some hosts
130+
// (e.g. marimo). Export both so the module satisfies current validators
131+
// while remaining backward-compatible with older anywidget runtimes.
132+
export default { render };
127133
"""
128134

129135

0 commit comments

Comments
 (0)