exa.common.helpers.notebook_helper.repr_mimebundle#
- repr_mimebundle(node, include=None, exclude=None)#
Backing implementation of
SettingNode._repr_mimebundle_().Builds the lazy ipywidgets renderer when
ipywidgetsis importable; otherwise returns a static root-only summary. The widget bundle also carries cheaptext/html/text/plainfallbacks so non-widget frontends still show something.- Parameters:
node (SettingNode) – The node to render.
include (set[str] | None) – MIME types to include, forwarded to the widget’s mimebundle.
exclude (set[str] | None) – MIME types to exclude, forwarded to the widget’s mimebundle.
- Returns:
A MIME bundle mapping MIME type to representation.
- Return type: