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_content.
load_declarative_analytics_model
load_declarative_analytics_model(workspace_id: str, layout_root_path: Path) -> CatalogDeclarativeAnalytics
Loads the declarative analytics model, which was stored using store_declarative_analytics_model.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | Workspace identification string e.g. "demo" |
| layout_root_path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
| type | description |
|---|---|
| CatalogDeclarativeAnalytics | Object Containing declarative Analytical Model |
Example
# Get analytics layout
declarative_analytics = sdk.catalog_workspace_content.load_declarative_analytics_model(
workspace_id="123",
layout_root_path=Path.cwd()
)