def METHOD_NAME(
    self, include: Any = None, exclude: Any = None
) -> MimeBundleType:
    """Return a MIME bundle for display in Jupyter frontends."""
    if self.renderers is not None:
        renderer_func = self.renderers.get()
        assert renderer_func is not None
        return renderer_func(self.spec)
    else:
        return {}