chore: correct type-hints for per_page attrbute#1880
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1880 +/- ##
==========================================
- Coverage 92.50% 87.80% -4.71%
==========================================
Files 78 78
Lines 4871 4871
==========================================
- Hits 4506 4277 -229
- Misses 365 594 +229
Flags with carried forward coverage won't be shown. Click here to find out more.
|
nejch
left a comment
There was a problem hiding this comment.
Huh, interesting, another API quirk I guess. Should we be testing this somewhere? I guess it doesn't make sense to spend time on it.
There are occasions where a GitLab `list()` call does not return the `x-per-page` header. For example the listing of custom attributes. Update the type-hints to reflect that.
b0deed9 to
e825653
Compare
I'm not sure how much value in testing for this, but I can if you want. |
Probably not :) just another weird one! |
There are occasions where a GitLab
list()call does not return thex-per-pageheader. For example the listing of custom attributes.Update the type-hints to reflect that.