This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_workspace_content.
load_analytics_model_from_disk
load_analytics_model_from_disk(path: Path) -> CatalogDeclarativeAnalytics
Loads the analytics model, which was stored using store_analytics_model_to_disk.
Parameters
| name | type | description |
|---|---|---|
| path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
| type | description |
|---|---|
| CatalogDeclarativeAnalytics | Object Containing declarative Analytical Model |
Example
# Get Analytics model from disk
declarative_analytics = sdk.catalog_workspace_content.load_analytics_model_from_disk(
path=Path.cwd()
)