Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ weight: 220

Create a new color palette.

## Parameters
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="color_palette" p_type="CatalogColorPalette" >}}
A catalog color palette object to be created.
{{< /parameter >}}
{{% /parameters-block %}}

| parameter | type | description |
| -- | -- | -- |
| color_palette | CatalogColorPalette | A catalog color palette object to be created. |

## Returns

_None_
{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ weight: 120

Create a new theme.

## Parameters
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="theme" p_type="CatalogTheme" >}}
A catalog theme object to be created.
{{< /parameter >}}
{{% /parameters-block %}}

| parameter | type | description |
| -- | -- | -- |
| theme | CatalogTheme | A catalog theme object to be created. |

## Returns

_None_
{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ weight: 240

Delete a color palette.

## Parameters

| parameter | type | description |
| -- | -- | -- |
| color_palette_id | str | Color palette identification string e.g. "my_palette" |

## Returns

_None_

## Raises

| type | description |
| -- | -- |
| ValueError | Color palette does not exist. |
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="color_palette_id" p_type="string" >}}
Color palette identification string e.g. "my_palette"
{{< /parameter >}}
{{% /parameters-block %}}

{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}

{{% parameters-block title="Raises" %}}
{{< parameter p_type="Value Error" >}}
Color palette does not exist.
{{< /parameter >}}
{{% /parameters-block %}}
29 changes: 14 additions & 15 deletions docs/content/en/latest/administration/appearance/delete_theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ weight: 140

Delete a theme.

## Parameters

| parameter | type | description |
| -- | -- | -- |
| theme_id | str | Theme identification string e.g. "my_dark_theme" |

## Returns

_None_

## Raises

| type | description |
| -- | -- |
| ValueError | Theme does not exist. |
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="theme_id" p_type="string" >}}
Theme identification string e.g. "my_dark_theme"
{{< /parameter >}}
{{% /parameters-block %}}

{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}

{{% parameters-block title="Raises" %}}
{{< parameter p_type="Value Error" >}}
Theme does not exist.
{{< /parameter >}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ weight: 210

Get an individual color palette.

## Parameters
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="color_palette_id" p_type="string" >}}
Color palette identification string e.g. "my_palette"
{{< /parameter >}}
{{% /parameters-block %}}

| parameter | type | description |
| -- | -- | -- |
| color_palette_id | str | Color palette identification string e.g. "my_palette" |

## Returns

| type | description |
| -- | -- |
| CatalogColorPalette | Catalog color palette object containing structure of the color palette. |
{{% parameters-block title="Returns" %}}
{{< parameter p_type="CatalogColorPalette" >}}
Catalog color palette object containing structure of the color palette.
{{< /parameter >}}
{{% /parameters-block %}}
20 changes: 10 additions & 10 deletions docs/content/en/latest/administration/appearance/get_theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ weight: 110

Get an individual theme.

## Parameters
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="theme_id" p_type="string" >}}
Theme identification string e.g. "my_dark_theme"
{{< /parameter >}}
{{% /parameters-block %}}

| parameter | type | description |
| -- | -- | -- |
| theme_id | str | Theme identification string e.g. "my_dark_theme" |

## Returns

| type | description |
| -- | -- |
| CatalogTheme | Catalog theme object containing structure of the theme. |
{{% parameters-block title="Returns" %}}
{{< parameter p_type="CatalogTheme" >}}
Catalog theme object containing structure of the theme.
{{< /parameter >}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ weight: 200

Returns a list of all color palettes in the current organization.

## Parameters
{{% parameters-block title="Parameters" None="yes"%}}
{{% /parameters-block %}}

_None_

## Returns

| type | description |
| -- | -- |
| list[CatalogColorPalette] | List of color palettes in the current organization. |
{{% parameters-block title="Returns" %}}
{{< parameter p_type="list[CatalogColorPalette]" >}}
List of color palettes in the current organization.
{{< /parameter >}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ weight: 100

Returns a list of all themes in the current organization.

## Parameters
{{% parameters-block title="Parameters" None="yes"%}}
{{% /parameters-block %}}

_None_

## Returns

| type | description |
| -- | -- |
| list[CatalogTheme] | List of themes in the current organization. |
{{% parameters-block title="Returns" %}}
{{< parameter p_type="list[CatalogTheme]" >}}
List of themes in the current organization.
{{< /parameter >}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ weight: 230

Update a color palette.

## Parameters

| parameter | type | description |
| -- | -- | -- |
| color_palette | CatalogColorPalette | A catalog color palette object to be updated. |

## Returns

_None_

## Raises

| type | description |
| -- | -- |
| ValueError | Color palette does not exist. |
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="color_palette" p_type="CatalogColorPalette" >}}
A catalog color palette object to be updated.
{{< /parameter >}}
{{% /parameters-block %}}

{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}

{{% parameters-block title="Raises" %}}
{{< parameter p_type="Value Error" >}}
Color palette does not exist.
{{< /parameter >}}
{{% /parameters-block %}}
29 changes: 14 additions & 15 deletions docs/content/en/latest/administration/appearance/update_theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ weight: 130

Update a theme.

## Parameters

| parameter | type | description |
| -- | -- | -- |
| theme | CatalogTheme | A catalog theme object to be updated. |

## Returns

_None_

## Raises

| type | description |
| -- | -- |
| ValueError | Theme does not exist. |
{{% parameters-block title="Parameters" %}}
{{< parameter p_name="theme" p_type="CatalogTheme" >}}
A catalog theme object to be updated.
{{< /parameter >}}
{{% /parameters-block %}}

{{% parameters-block title="Returns" None="yes"%}}
{{% /parameters-block %}}

{{% parameters-block title="Raises" %}}
{{< parameter p_type="Value Error" >}}
Theme does not exist.
{{< /parameter >}}
{{% /parameters-block %}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# (C) 2024 GoodData Corporation
# (C) 2026 GoodData Corporation
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# (C) 2024 GoodData Corporation
# (C) 2026 GoodData Corporation
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) 2024 GoodData Corporation
# (C) 2026 GoodData Corporation
from __future__ import annotations

from typing import Any
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) 2024 GoodData Corporation
# (C) 2026 GoodData Corporation
from __future__ import annotations

from typing import Any
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) 2024 GoodData Corporation
# (C) 2026 GoodData Corporation
from __future__ import annotations

import functools
Expand Down
Loading