Skip to content

NotebookSpec🔗

A notebook spec is a dashboard spec with narrative content. It has a title, optional description, tags, time

settings, and a map of elements (panels and cells) referenced by the layout.

Constructor🔗

NotebookSpec()

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.NotebookSpec

description🔗

def description(description: str) -> typing.Self

elements🔗

def elements(elements: dict[str, cogbuilder.Builder[dashboardv2beta1.NotebookElement]]) -> typing.Self

layout🔗

def layout(layout: cogbuilder.Builder[dashboardv2beta1.NotebookLayoutKind]) -> typing.Self

tags🔗

def tags(tags: list[str]) -> typing.Self

time_settings🔗

def time_settings(time_settings: cogbuilder.Builder[dashboardv2beta1.TimeSettingsSpec]) -> typing.Self

title🔗

def title(title: str) -> typing.Self

See also🔗