catalog_workspace.
load_declarative_workspaces
load_declarative_workspaces(layout_root_path: Path = Path.cwd())
Loads declarative workspaces layout, which was stored using store_declarative_workspaces.
Parameters
| name | type | description |
|---|---|---|
| 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 declarative workspaces
declarative_workspaces = sdk.catalog_workspace.load_declarative_workspaces(
layout_root_path=Path.cwd()
)