gooddata_sdk.insight.InsightMetric
- class gooddata_sdk.insight.InsightMetric(metric: dict[str, Any])
Bases:
object
Represents metric placed on an insight.
Note: this has different shape than object passed to execution.
- __init__(metric: dict[str, Any]) None
Methods
__init__
(metric)as_computable
()Attributes
alias
format
is_time_comparison
item
item_id
local_id
If this is a time comparison metric, return local_id of the master metric from which it is derived.
title
- property time_comparison_master: Optional[str]
If this is a time comparison metric, return local_id of the master metric from which it is derived. :return: local_id of master metric, None if not a time comparison metric