Skip to content

Duration

Source code in docs_src/capo_app_mesh/types/duration.py
class Duration(TypedDict, closed=True):
    value: NotRequired["capo_app_mesh.types.duration_value.DurationValue"]
    """<p>A number of time units.</p>"""
    unit: NotRequired["capo_app_mesh.types.duration_unit.DurationUnit"]
    """<p>A unit of time.</p>"""

unit instance-attribute

unit: NotRequired[DurationUnit]

A unit of time.

value instance-attribute

value: NotRequired[DurationValue]

A number of time units.