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

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"
layout_root_pathOptional[Path]Path to the root of the layout directory. Defaults to Path.cwd().

Returns

typedescription
CatalogDeclarativeAnalyticsObject 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()
)