This documentation is for an older version of GoodData.
Go to the latest version of this article.
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
name | type | description |
---|---|---|
workspace_id | str | Workspace identification string e.g. "demo" |
ctx | ValidObjectsInputType | items already in context. you can specify context in one of the following ways: |
Returns
type | description |
---|---|
ValidObjects | type of available object is used as key in the dict, the value is a set containing id's of available items |