This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_workspace_content.
load_ldm_from_disk
load_ldm_from_disk( path: Path = Path.cwd())
Loads the logical data model stored to disk using store_ldm_to_disk.
Parameters
| name | type | description |
|---|---|---|
| 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
# Get the stored Logical Data model
logical_model = sdk.catalog_workspace_content.load_ldm_from_disk(path=Path.cwd())