Skip to content

NotebookLayoutItemSpec🔗

One ordered item in a notebook layout. element references either a CellKind

(markdown/code content) or a V2PanelKind in the notebook's elements map. source

records who authored the cell; collapsed hides the body in the UI.

Constructor🔗

NotebookLayoutItemSpec()

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.NotebookLayoutItemSpec

collapsed🔗

def collapsed(collapsed: bool) -> typing.Self

element🔗

def element(element: cogbuilder.Builder[dashboardv2beta1.ElementReference]) -> typing.Self

source🔗

def source(source: typing.Literal["assistant", "user"]) -> typing.Self

See also🔗