catalog_workspace.

put_declarative_workspace

put_declarative_workspace(workspace_id: str, workspace: CatalogDeclarativeWorkspaceModel)

Sets a workspace layout.

Parameters

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"
workspaceCatalogDeclarativeWorkspaceModelObject Containing declarative Logical Data Model and declarative Analytical Model.

Returns

None

Example

# Get workspace
declarative_workspace = sdk.catalog_workspace.get_declarative_workspace(workspace_id="123")

# Do some changes
# ...

# Set the layout
sdk.catalog_workspace.put_declarative_workspace(
    workspace_id="123",
    workspace=declarative_workspace
)