CatalogWorkspaceContentService.

compute_valid_objects

compute_valid_objects( workspace_id: str, ctx: ValidObjectsInputType ) -> ValidObjects

Returns attributes, facts, and metrics which are valid to add to a context that already

contains some entities from the semantic model. The entities are typically used to compute analytics and come from the execution definition. You may, however, specify the entities through different layers of convenience.

Parameters

nametypedescription
workspace_idstrWorkspace identification string e.g. "demo"
ctxValidObjectsInputTypeitems already in context. you can specify context in one of the following ways:

Returns

typedescription
ValidObjectstype of available object is used as key in the dict, the value is a set containing id's of available items