DashboardVersion#
DashboardVersion #
DashboardVersion(
workspace_slug: str,
app_slug: str,
dashboard_slug: str,
content: DashboardVersionContent,
activate: bool,
)
Spec for Dashboard version.
Constructor for DashboardVersion class.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
workspace_slug
|
str
|
The workspace's identifier. |
required |
app_slug
|
str
|
The app's identifier. |
required |
dashboard_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. |
required |
Types#
DashboardVersionContent
module-attribute
#
DashboardVersionContent: TypeAlias = (
DashboardVersionContentStrict | PageContent
)