Skip to content

CellKind🔗

A cell holds non-panel narrative content (markdown text, code) in a notebook layout.

Panel cells are not represented here — they reuse V2PanelKind.

Definition🔗

class CellKind:
    """
    A cell holds non-panel narrative content (markdown text, code) in a notebook layout.
    Panel cells are not represented here — they reuse V2PanelKind.
    """

    kind: typing.Literal["Cell"]
    spec: dashboardv2beta1.CellSpec

Methods🔗

to_json🔗

Converts this object into a representation that can easily be encoded to JSON.

def to_json() -> dict[str, object]

from_json🔗

Builds this object from a JSON-decoded dict.

@classmethod
def from_json(data: dict[str, typing.Any]) -> typing.Self

See also🔗