This documentation is for an older version of GoodData.
Go to the latest version of this article.
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
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 |
---|---|
CatalogDeclarativeModel | Object 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()
)