Skip to content

AutoGridLayoutSpec🔗

Definition🔗

class AutoGridLayoutSpec:
    max_column_count: typing.Optional[float]
    column_width_mode: typing.Literal["narrow", "standard", "wide", "custom"]
    column_width: typing.Optional[float]
    row_height_mode: typing.Literal["short", "standard", "tall", "custom"]
    row_height: typing.Optional[float]
    fill_screen: typing.Optional[bool]
    items: list[dashboardv2beta1.AutoGridLayoutItemKind]

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🔗