- Notifications
You must be signed in to change notification settings - Fork676
Commit971a617
committed
fix: handle situation where GitLab does not return values
If a query returns more than 10,000 records than the following valuesare NOT returned: x.total_pages x.totalModify the code to allow no value to be set for these values. If thereis not a value returned the functions will now return None.https://docs.gitlab.com/ee/user/gitlab_com/index.html#pagination-response-headersCloses#16861 parent83dcabf commit971a617
3 files changed
+25
-10
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
268 |
| - | |
269 |
| - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
270 | 279 |
| |
271 | 280 |
| |
272 | 281 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
288 | 288 |
| |
289 | 289 |
| |
290 | 290 |
| |
291 |
| - | |
| 291 | + | |
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
296 |
| - | |
| 296 | + | |
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
966 | 966 |
| |
967 | 967 |
| |
968 | 968 |
| |
969 |
| - | |
| 969 | + | |
970 | 970 |
| |
971 |
| - | |
972 |
| - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
973 | 976 |
| |
974 | 977 |
| |
975 | 978 |
| |
976 |
| - | |
| 979 | + | |
977 | 980 |
| |
978 |
| - | |
979 |
| - | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
980 | 986 |
| |
981 | 987 |
| |
982 | 988 |
| |
|
0 commit comments
Comments
(0)