gooddata_sdk.insight.InsightMetric
- class gooddata_sdk.insight.InsightMetric(metric: dict[str, Any])
Bases:
objectRepresents 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
aliasformatis_time_comparisonitemitem_idlocal_idIf 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