catalog_workspace_content.
get_full_catalog
get_full_catalog(workspace_id: str)
Gets catalog for a workspace. Catalog contains all data sets and metrics defined in that workspace.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | string | Workspace identification string e.g. "demo" |
Returns
| type | description |
|---|---|
| CatalogWorkspaceContent | Object containing all data sets and metrics. |
Example
# Get full catalog
workspace_content = sdk.catalog_workspace_content.get_full_catalog(workspace_id="123")
# CatalogWorkspaceContent(
# datasets=[
# CatalogDataset(
# id=campaign_channels,
# title=Campaign channels,
# facts=[
# CatalogFact(
# id=spend,
# title=Spend
# ),
# CatalogFact(
# id=budget,
# title=Budget
# )
# ],
# ...
# )