Skip to content

Dashboard#

Dashboard #

Dashboard(
    *,
    workspace_slug: str,
    app_slug: str,
    slug: str,
    content: DashboardVersionContent,
    activate: bool = True,
)

Central component for managing layouts, widgets, cards.

The Dashboard class is the central component for creating and managing dashboards. It serves as the container for various layout elements, widgets, and cards.

Constructor for Dashboard class.

Parameters:

Name Type Description Default
workspace_slug str

The workspace's identifier.

required
app_slug str

The app's identifier.

required
slug str

The dashboard's identifier.

required
content DashboardVersionContent

The content of the dashboard version.

required
activate bool

Whether to activate the dashboard version immediately after creation or not.

True