This documentation is for an older version of GoodData.
Go to the latest version of this article.
model_container.CatalogWorkspaceContent
Properties
NoneMethods
| Name | Description |
|---|---|
| get_metric(metric_id: Union[str, ObjId]) | Gets metric by id. The id can be either an instance of ObjId or string containing serialized ObjId ('metric/some.metric.id') or contain just the id part ('some.metric.id'). |
| get_dataset(dataset_id: Union[str, ObjId]) | Gets dataset by id. The id can be either an instance of ObjId or string containing serialized ``ObjId ('dataset/some.dataset.id')`` or contain just the id part (``some.dataset.id``). |
| find_label_attribute() | Get attribute by label id. |
| filter_by_valid_objects() | None |
| catalog_with_valid_objects(ctx: ValidObjectsInputType) | Returns a new instance of catalog which contains only those datasets (attributes and facts) that are valid in the provided context. The context is composed of one or more entities of the semantic model and the filtered catalog will contain only those entities that can be safely added on top of that existing context. |
| create_workspace_content_catalog() | None |