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
name | type | description |
---|---|---|
workspace_id | str | Workspace identification string e.g. "demo" |
path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
exclude | Optional[list[str]] | Defines properties which should not be included in the payload. E.g.: ["ACTIVITY_INFO"] |