dlt
dlt copied to clipboard
RESTClient: stops pagination after empty page (Feat/1637)
Description
- Adds a new option to
RangePaginatorand its subclassesOffsetPaginatorandPageNumberPaginatorto stop pagination upon receiving a page without data items - By default, stops pagination after an empty page
- Every
RangePaginatornow requires eithertotal_pathormaximum_offsetorstop_after_empty_page - If
total_pathis not provided, pagination is controlled bymaximum_pageandstop_after_empty_pageormaximum_offsetandstop_after_empty_pagerespectively.
Related Issues
- Resolves #1637
Deploy Preview for dlt-hub-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 83bab151a81ad3e3beaad8b4486741bd3e28d2fa |
| Latest deploy log | https://app.netlify.com/sites/dlt-hub-docs/deploys/66c339cf80854200087f47ef |