catalog_workspace_content.
load_declarative_analytics_model
load_declarative_analytics_model(workspace_id: str, layout_root_path: Path = Path.cwd())
Loads declarative analytics layout, which was stored using store_declarative_analytics_model.
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 |
---|---|
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()
)