SAP / python-pyodata

Enterprise-ready Python OData client
Apache License 2.0
221 stars 93 forks source link

Support __next field in response for partial listing #198

Closed phanak-sap closed 1 year ago

phanak-sap commented 2 years ago

In response payloads, representing Collections of Entries, if the server does not include an object for every Entry in the Collection of Entries identified by the request URI then the response represents a partial listings of the Collection. In this case, "__next" name/value pair is included to indicate the response represents a partial listing. The value of the name/value pair is a URI which identifies the next partial set of entities from the originally identified complete set.

rettichschnidi commented 2 years ago

PR #188 got merged

phanak-sap commented 1 year ago

This is year out, no better alternative explored so far, committing to be in the 1.X version as is.

developer992 commented 4 months ago

is there a single example on how to paginate?

phanak-sap commented 4 months ago

Hi @developer992 - check out the documentation:

https://github.com/SAP/python-pyodata/blob/master/docs/usage/querying.rst#query-server-side-paginations-using-the-__next-field