Skip to content

Segment

Source code in docs_src/capo_glue/types/segment.py
class Segment(TypedDict, closed=True):
    segment_number: "capo_glue.types.non_negative_integer.NonNegativeInteger"
    """<p>The zero-based index number of the segment. For example, if the total number of segments is 4, <code>SegmentNumber</code> values range from 0 through 3.</p>"""
    total_segments: "capo_glue.types.total_segments_integer.TotalSegmentsInteger"
    """<p>The total number of segments.</p>"""

segment_number instance-attribute

segment_number: NonNegativeInteger

The zero-based index number of the segment. For example, if the total number of segments is 4, SegmentNumber values range from 0 through 3.

total_segments instance-attribute

total_segments: TotalSegmentsInteger

The total number of segments.