This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
CatalogWorkspaceContentService.

store_declarative_analytics_model

store_declarative_analytics_model( workspace_id: str, layout_root_path: Path ) -> None

Store declarative analytics model for a given workspace in directory hierarchy.

This method ties the declarative analytics model to the workspace and organization, thus it is recommended for backups. If you want to move declarative analytics model between workspaces or organizations, use store_analytics_model_to_disk.

Parameters

nametypedescription
workspace_idstrWorkspace identification string e.g. "demo"
layout_root_pathPathPath to the root of the layout directory. Defaults to Path.cwd().

Returns

None