Skip to main content
Version: Next

HasItems

Structural contract for a single page of results from a paginated API endpoint.

Implementations must expose items. They may optionally expose count - the number of rows the API scanned to produce this page, which len(items) can land below (filters drop items) or above (unwind splits one row into several items). The iterator helpers consult count opportunistically via getattr for offset bookkeeping and fall back to len(items) when it is absent.

Index

Properties

Properties

items

items: list[T]
Page Options