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