mollie-api-python icon indicating copy to clipboard operation
mollie-api-python copied to clipboard

New handler for list results

Open whyscream opened this issue 1 year ago • 2 comments

A heavily simplified class to wrap the results of .list() calls. Has cleaner code, implements autopagination handling, and no more features that actually shouldn't be there. See commit message for details.

This should solve #278

whyscream avatar Nov 25 '22 12:11 whyscream

After the work in #333 , we need to see what parts of this work are still relevant. Replacing get_next() and get_previous() with automatic pagination handling still seems useful.

whyscream avatar Oct 12 '23 11:10 whyscream

Idea from https://github.com/mollie/mollie-api-php/pull/701, add a separate iterator() method for the new implementation, in stead of a parameter for the list() method

whyscream avatar Nov 06 '23 09:11 whyscream