diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2013-02-16 08:32:06 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2013-02-16 08:32:06 +0100 |
| commit | 74ec951c208763bd5d7ff395c35cf9f9d6985ba9 (patch) | |
| tree | 1d36704f1aa54c8ce6350d7729ad86a18bdcc18c /gitlab.py | |
| parent | 014902019b7410dcd3ed05360e3469bceeaa2b99 (diff) | |
| download | gitlab-74ec951c208763bd5d7ff395c35cf9f9d6985ba9.tar.gz | |
add a pagination example
Diffstat (limited to 'gitlab.py')
| -rw-r--r-- | gitlab.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -603,3 +603,7 @@ if __name__ == '__main__': # and close them all issue.closed = 1 issue.save() + + # get the first 10 groups (pagination) + for g in gl.Group(page=1, per_page=10): + print g |
