catalog_workspace_content.

load_declarative_ldm

load_declarative_ldm(workspace_id: str, layout_root_path: Path = Path.cwd())

Loads declarative LDM layout, which was stored using store_declarative_ldm.

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
CatalogDeclarativeModelObject Containing declarative Logical Data Model

Example

# Load stored declarative Logical Data Model
logical_model = sdk.catalog_workspace_content.load_declarative_ldm(
    workspace_id="123",
    layout_root_path=Path.cwd()
)