gooddata_sdk.compute.model.attribute.Attribute
- class gooddata_sdk.compute.model.attribute.Attribute(local_id: str, label: Union[gooddata_sdk.compute.model.base.ObjId, str])
Bases:
gooddata_sdk.compute.model.base.ExecModelEntity
- __init__(local_id: str, label: Union[gooddata_sdk.compute.model.base.ObjId, str]) None
Creates new attribute that can be used to slice or dice metric values during computation.
- Parameters
local_id – identifier of the attribute within the execution
label – identifier of the label to use for slicing or dicing; specified either as ObjId or str containing the label id
Methods
__init__
(local_id, label)Creates new attribute that can be used to slice or dice metric values during computation.
as_api_model
()has_same_label
(other)Attributes
label
local_id