We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fakturoid zmenil počet objektov, ktorý vráti v rámci response (napr. z API endpointu invoices) z 20 na 40.
invoices
Trieda PagedResource ale počíta stále s 20 objektami, preto pri paginácii vracia len prvých 20 objektov z každej stránky a zvyšok odignoruje.
PagedResource
Pre fix by malo by stačiť upraviť paging.py
paging.py
class PagedResource(object): """List adapter for paged resources. Returns sliceable lazy loaded object.""" def __init__(self, page_size=40): self.pages = {} self.page_size = page_size or 40 self.page_count = None
Vopred ďakujem za čo najrýchlejší fix 🙏
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Fakturoid zmenil počet objektov, ktorý vráti v rámci response (napr. z API endpointu
invoices
) z 20 na 40.Trieda
PagedResource
ale počíta stále s 20 objektami, preto pri paginácii vracia len prvých 20 objektov z každej stránky a zvyšok odignoruje.Pre fix by malo by stačiť upraviť
paging.py
Vopred ďakujem za čo najrýchlejší fix 🙏
The text was updated successfully, but these errors were encountered: