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

nametypedescription
layout_root_pathOptional[Path]Path to the root of the layout directory. Defaults to Path.cwd().

Returns

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