gooddata_sdk.compute.model.execution.TotalDefinition

class gooddata_sdk.compute.model.execution.TotalDefinition(local_id: str, aggregation: str, metric_local_id: str, total_dims: list[TotalDimension])

Bases: object

__init__(local_id: str, aggregation: str, metric_local_id: str, total_dims: list[TotalDimension]) None

Method generated by attrs for class TotalDefinition.

Methods

__init__(local_id, aggregation, ...)

Method generated by attrs for class TotalDefinition.

Attributes

local_id

total's local identifier

aggregation

aggregation function; case insensitive; one of SUM, MIN, MAX, MED, AVG

metric_local_id

local identifier of the measure to calculate total for

total_dims

aggregation: str

aggregation function; case insensitive; one of SUM, MIN, MAX, MED, AVG

local_id: str

total’s local identifier

metric_local_id: str

local identifier of the measure to calculate total for