catalog_workspace_content.
load_ldm_from_disk
load_ldm_from_disk(path: Path) -> CatalogDeclarativeModel
Loads the Logical Data Model, which was stored using store_ldm_to_disk.
Parameters
| name | type | description |
|---|---|---|
| path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
| type | description |
|---|---|
| CatalogDeclarativeModel | Object Containing declarative Logical Data Model. |
Example
# Get the stored Logical Data model
logical_model = sdk.catalog_workspace_content.load_ldm_from_disk(path=Path.cwd())