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.
load_declarative_workspace
load_declarative_workspace(workspace_id: str, layout_root_path: Path = Path.cwd())
Loads declarative workspaces layout, which was stored using store_declarative_workspace.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | string | Workspace identification string e.g. "demo" |
| layout_root_path | Optional[Path] | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
| type | description |
|---|---|
| CatalogDeclarativeWorkspaceModel | Object Containing declarative Logical Data Model and declarative Analytical Model. |
Example
# Load a declarative workspace
declarative_workspace = sdk.catalog_workspace.load_declarative_workspace(
workspace_id="123",
layout_root_path=Path.cwd()
)