catalog_workspace.

put_declarative_workspaces

put_declarative_workspaces(workspace: CatalogDeclarativeWorkspaces)

Sets the layout of all workspaces and their hierarchy.

Parameters

nametypedescription
workspaceCatalogDeclarativeWorkspacesDeclarative Workspaces object including all the workspaces for given organization.

Returns

None

Example

# 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)