Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Add custom default pagination class #158

Merged
merged 1 commit into from
Jun 17, 2021
Merged

Conversation

TimJentzsch
Copy link
Contributor

Relevant issue: Closes #156.

Description:

This changes the default pagination class to a custom one. This allows us to set a page_size parameter to control the number of items per page. The current maximum is set to 500, but we might wanna adjust this to our needs.
This change is important for buttercup to reduce the number of API requests and thus the delays.

Checklist:

  • Code Quality
  • Pep-8
  • Tests (if applicable)
  • Success Criteria Met
  • Inline Documentation
  • Wiki Documentation (if applicable)

@TimJentzsch TimJentzsch requested a review from a team as a code owner June 17, 2021 13:08
@itsthejoker itsthejoker merged commit 4111e1a into master Jun 17, 2021
@itsthejoker itsthejoker deleted the 156-pagination-items branch June 17, 2021 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add query parameter to control number of returned items
2 participants