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.
put_declarative_workspaces
put_declarative_workspaces(workspace: CatalogDeclarativeWorkspaces)
Set layout of all workspaces and their hierarchy. Parameter is in declarative form.
Parameters
| name | type | description |
|---|---|---|
| workspace | CatalogDeclarativeWorkspaces | Declarative Workspaces object including all the workspaces for given organization. |
Returns
NoneExample
# Load declarative workspaces
declarative_workspaces = sdk.catalog_workspace.get_declarative_workspaces()
# Do changes
# ...
# Set the layout and hierachy
sdk.catalog_workspace.put_declarative_workspaces(declarative_workspaces)