catalog_workspace.

get_declarative_workspace

get_declarative_workspace(workspace_id: str)

Gets all workspaces in the current organization in a declarative form.

Parameters

None

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")