Miscellaneous#

marimo.running_in_notebook() bool#

Returns True if running in a marimo notebook, False otherwise

marimo.defs() tuple[str, ...]#

Get the definitions of the currently executing cell.

Returns:

  • tuple of the currently executing cell’s defs.

marimo.refs() tuple[str, ...]#

Get the references of the currently executing cell.

Returns:

  • tuple of the currently executing cell’s refs.