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

Add a global page size variable for the Agent-based SCA client #55

Open
Gby56 opened this issue Feb 8, 2023 · 0 comments
Open

Add a global page size variable for the Agent-based SCA client #55

Gby56 opened this issue Feb 8, 2023 · 0 comments

Comments

@Gby56
Copy link
Contributor

Gby56 commented Feb 8, 2023

Hi @tjarrettveracode !

I'm having a bug currently with the SourceClear API, and the only fix would be to set the pagination size to a bigger one.
Its on the get_projects() function, but it got me thinking, looking at the apihelper.py, the _rest_paged_request() function could maybe inject a page size param, with a setting in the client constructor ?

I'll make a PR to show what I'm thinking about, it would really help

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

1 participant