catalog_workspace.

get_declarative_workspace

get_declarative_workspace(workspace_id: str, exclude: Optional[list[str]])

Get all workspaces in the current organization in a declarative form. This method combines sdk.catalog_workspace_content.get_declarative_ldm and sdk.catalog_workspace_content.get_declarative_analytics_model methods and returns a declarative workspace object.

Parameters

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"
excludeOptional[list[str]]Defines properties which should not be included in the payload. E.g.: ["ACTIVITY_INFO"]

Returns

typedescription
CatalogDeclarativeWorkspacesDeclarative Workspaces object including all the workspaces for given organization.

Example

# Get declarative workspace
declarative_workspace = sdk.catalog_workspace.get_declarative_workspace(workspace_id="123")