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


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.


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


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