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

nametypedescription
workspace_idstringWorkspace identification string e.g. "demo"

Returns

typedescription
CatalogWorkspaceContentObject 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
#           )
#   ],
#   ...
# )