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.
store_declarative_workspace
store_declarative_workspace(workspace_id: str, layout_root_path: Path, exclude: Optional[list[str]])
Store workspace layout in a directory hierarchy.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | Workspace identification string e.g. "demo" |
| layout_root_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. |
Returns
NoneExample
# Store workspace layout
sdk.catalog_workspace.store_declarative_workspace(workspace_id="123",layout_root_path=Path.cwd())