dlt icon indicating copy to clipboard operation
dlt copied to clipboard

RESTClient: stops pagination after empty page (Feat/1637)

Open willi-mueller opened this issue 1 year ago • 1 comments

Description

  • Adds a new option to RangePaginator and its subclasses OffsetPaginator and PageNumberPaginator to stop pagination upon receiving a page without data items
  • By default, stops pagination after an empty page
  • Every RangePaginator now requires either total_path or maximum_offset or stop_after_empty_page
  • If total_path is not provided, pagination is controlled by maximum_page and stop_after_empty_page or maximum_offset and stop_after_empty_page respectively.

Related Issues

  • Resolves #1637

willi-mueller avatar Aug 09 '24 10:08 willi-mueller

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

netlify[bot] avatar Aug 09 '24 10:08 netlify[bot]