Description of the problem, including code/CLI snippet
Calling commit.diff() to get diff information for a commit only return per_page items or 20 by default. It seems commit.diff() does not take either all or as_list and only pagination works, but we don't know how many page there are except by manually checking the returned list size.
Expected Behavior
Using commit.diff() should be able to give us all the diffs in a commit without having to manually checking the returned page size
Actual Behavior
As described
Specifications
- python-gitlab version: 2.5.0
- API version you are using (v3/v4): v4
- Gitlab server version (or gitlab.com): gitlab.com
Description of the problem, including code/CLI snippet
Calling
commit.diff()to get diff information for a commit only returnper_pageitems or 20 by default. It seemscommit.diff()does not take eitheralloras_listand only pagination works, but we don't know how many page there are except by manually checking the returned list size.Expected Behavior
Using
commit.diff()should be able to give us all the diffs in a commit without having to manually checking the returned page sizeActual Behavior
As described
Specifications