catalog_workspace.
put_declarative_workspace
put_declarative_workspace(workspace_id: str, workspace: CatalogDeclarativeWorkspaceModel)
Sets a workspace layout.
Parameters
name | type | description |
---|---|---|
workspace_id | string | Workspace identification string e.g. "demo" |
workspace | CatalogDeclarativeWorkspaceModel | Object 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
)