Skip to content

More support for keyset pagination #1144

@ericfrederich

Description

@ericfrederich

Description of the problem, including code/CLI snippet

Initial keyset pagination support was added in commit 0b71ba4, however it is still not:

  • supported from CLI
  • able to be set globally in configuration.
gitlab -o json project list --all --pagination keyset --order-by id

Expected Behavior

Pagination should be able to be set in the following places in order of precedence:

  • cli argument
  • via config file under a particular gitlab id
  • via config under global section

Actual Behavior

Pagination can only be set in config file under a particular gitlab id.

Specifications

  • python-gitlab version: master branch
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 13.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions