Skip to content

UploadRange

Source code in docs_src/capo_support/types/upload_range.py
class UploadRange(TypedDict, closed=True):
    start_index: "capo_support.types.start_index.StartIndex"
    """<p>The starting part index of the range, inclusive. Part indexes start at 1.</p>"""
    end_index: NotRequired["capo_support.types.end_index.EndIndex"]
    """<p>The ending part index of the range, exclusive. The range is half-open: <code>startIndex</code> is inclusive and <code>endIndex</code> is exclusive. For example, a range with <code>startIndex</code> of 1 and <code>endIndex</code> of 4 requests URLs for parts 1, 2, and 3. The range size (<code>endIndex</code> - <code>startIndex</code>) must not exceed 10. If you omit <code>endIndex</code>, the service defaults to <code>startIndex</code> + 10, capped by the total number of parts.</p>"""

end_index instance-attribute

end_index: NotRequired[EndIndex]

The ending part index of the range, exclusive. The range is half-open: startIndex is inclusive and endIndex is exclusive. For example, a range with startIndex of 1 and endIndex of 4 requests URLs for parts 1, 2, and 3. The range size (endIndex - startIndex) must not exceed 10. If you omit endIndex, the service defaults to startIndex + 10, capped by the total number of parts.

start_index instance-attribute

start_index: StartIndex

The starting part index of the range, inclusive. Part indexes start at 1.