create_async_page_iterator()
AsyncPageIterator
SyncPageIterator
create_sync_page_iterator()
Contents:
Create an asynchronous page iterator.
page_fetcher (Callable[..., Any]) – Async function that fetches a page
Callable
...
Any
kwargs (Dict[str, Any]) – Arguments to pass to the page fetcher
Dict
str
item_type (Optional[Type[TypeVar(T, bound= BaseModel)]]) – Type of individual items
Optional
Type
TypeVar
T
BaseModel
AsyncPageIterator that can be async iterated to get all items