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 6 months 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