gooddata_sdk.compute_model.Attribute

class gooddata_sdk.compute_model.Attribute(local_id: str, label: Union[gooddata_sdk.compute_model.ObjId, str])

Bases: gooddata_sdk.compute_model.ExecModelEntity

__init__(local_id: str, label: Union[gooddata_sdk.compute_model.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