This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
CatalogDataset.

filter_dataset

filter_dataset( valid_objects: ValidObjects ) -> Optional[CatalogDataset]

Filters dataset so that it contains only attributes and facts that are part of the provided valid objects

structure.

Parameters

nametypedescription
valid_objectsValidObjectslist of valid object IDs for each object type. They are valid for existing report context.

Returns

typedescription
CatalogDatasetcopy of self modified by the valid_objects context.