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

Allow pagination to be auto or manual

Open jibranmazhar opened this issue 3 years ago • 4 comments

Hello i got a problem in duffel.offers.list() call because it take almost 11 sec to give data. i explain the scenario first user create offer request with all required data with this api ( duffel.offer_request.execute() without return_offer() ) so this call take 3 to 7 sec and after that i go to the next page with offer ID and make another request to get offers with ( duffel.offers.list() ) and this call take 9 to 12 sec because they got all offers at once with pagination which i cannot control so please give control in pagination in api call because pagination model call api recursively and its stop when all offer they get thank you i hope you understand what i mean.

jibranmazhar avatar Jan 27 '22 20:01 jibranmazhar