This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_workspace.
get_declarative_workspaces
get_declarative_workspaces(exclude: Optional[list[str]]) -> CatalogDeclarativeWorkspaces
Get all workspaces in the current organization in a declarative form.
Parameters
| name | type | description |
|---|---|---|
| exclude | Optional[list[str]] | Defines properties which should not be included in the payload. |
Returns
| type | description |
|---|---|
| CatalogDeclarativeWorkspaces | Declarative Workspaces object including all the workspaces for given organization. |
Example
# Get declarative workspace
declarative_workspaces = sdk.catalog_workspace.get_declarative_workspaces()