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_analytics_model_to_disk

store_analytics_model_to_disk( workspace_id: str, path: Path, exclude: Optional[List[str]] ) -> None

Store analytics model for a given workspace in directory hierarchy.This method does not tie the declarative

analytics model to the workspace and organization, thus it is recommended for migration between workspaces. If you want to migrate analytics model between workspaces, use store_analytics_model_to_disk.

Parameters

nametypedescription
workspace_idstrWorkspace identification string e.g. "demo"
pathPathPath to the root of the layout directory. Defaults to Path.cwd().
excludeOptional[List[str]]Defines properties which should not be included in the payload. E.g.: ["ACTIVITY_INFO"]

Returns

None