Skip to content
New issue

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

allowed_results_per_page Parameter is ignored in client.__get_all method #46

Open
DaumAlexande opened this issue Sep 6, 2022 · 1 comment

Comments

@DaumAlexande
Copy link

Describe the bug
The __get_all Method of the client class has a allowed_results_per_page parameter to configure how many items are fetched per request.
Currently (commit d03cb91), the parameter is always overwritten with the value 20

To Reproduce
Steps to reproduce the behavior:
1: Use any method that uses pagination (like client.get_items())
2: set the allowed_results_per_page Parameter to a different value than 20
3: enable debug Logging to see the requests

Expected behavior
The maxResults Query Parameter on the requests change

Actual behavior
The maxResults Query Parameter stays at 20

Desktop (please complete the following information):

  • OS: Windows 10
@leolams
Copy link

leolams commented Feb 29, 2024

I seem to experience the same issue, is there an update on this? I also tried to pass the allowed_results_per_page parameter to the Jama Client constructor and it did not help either. It does seem like the value is still being overwritten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants