gotcha, thanks for sharing.
i started this work:
https://github.com/marimo-team/marimo/pull/3563but there is a fair amount of frontend work left, and likely some parsing changes to the DAG.
in the meantime, you can use raw sql with
engine.execute()
or maybe create a small
def execute
wrapper like something similar similar to the linked PR.
there are also a few examples in there that might be helpful too
marimo/_smoke_tests/sql/polars_sql.py
marimo/_smoke_tests/sql/sql_alchemy_engine.py
(only half works on
main
, other half depends on the PR)e