catalog_with_valid_objects( ctx: ValidObjectsInputType ) -> CatalogWorkspaceContent

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. If valid_objects_func is not set, return the current state. It is useful when apps need to cache this container using pickle - the func cannot be pickled.


ctxValidObjectsInputTypeexisting context. you can specify context in one of the following ways: - single item or list of items from the execution model - single item or list of items from catalog model; catalog fact, label or metric may be added - the entire execution definition that is used to compute analytics


No docs