Skip to content

MetricValue

Source code in docs_src/capo_cost_explorer/types/metric_value.py
class MetricValue(TypedDict, closed=True):
    amount: NotRequired["capo_cost_explorer.types.metric_amount.MetricAmount"]
    """<p>The actual number that represents the metric.</p>"""
    unit: NotRequired["capo_cost_explorer.types.metric_unit.MetricUnit"]
    """<p>The unit that the metric is given in.</p>"""

amount instance-attribute

amount: NotRequired[MetricAmount]

The actual number that represents the metric.

unit instance-attribute

unit: NotRequired[MetricUnit]

The unit that the metric is given in.