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