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 (Type[TypeVar(T, bound= BaseModel)] | None) – Type of individual items
Type
TypeVar
T
None
SyncPageIterator that can be iterated to get all items