mo.stop()
in sql cells. however, if you add custom code, we should be leaving it as is and not revert back to sql. can you share the snippet?print("hiii") _df = mo.sql( "SELECT 1, 2" )
mo.stop(some_ui.value is None, "Please interact with UI element") df = mo.sql("select from my table", engine = pg_engine)
mo.stop
in another cell should work. you can likely also create a NOOP query in the sql statement, but that may look gross