marimo icon indicating copy to clipboard operation
marimo copied to clipboard

feat: app.embed(defs={'mine': value})

Open dmadisetti opened this issue 1 month ago • 1 comments

📝 Summary

Enables the override of values into embed, allowing for birectional communication of embedded and parent apps

dmadisetti avatar Nov 11 '25 00:11 dmadisetti

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Nov 20, 2025 10:29pm

vercel[bot] avatar Nov 11 '25 00:11 vercel[bot]

My main question would be about performance. I see that AppKernelRunnerRegistry.get_runner() uses threading.

The runner doesn't use threads. Instead it is thread-safe, it uses the thread id to disambiguate between kernel runners. But you are right that cloning is not performant so another approach needs to be taken

akshayka avatar Nov 20 '25 22:11 akshayka

Reverted my cloning change to give you more surface area to work @zilto. It is not correct, thanks for the smoke test @akshayka

dmadisetti avatar Nov 20 '25 22:11 dmadisetti