Skip to content

GitlabList only passing kwargs to first query call #1123

Closed
@tyates-indeed

Description

@tyates-indeed

Description of the problem, including code/CLI snippet

GitlabList accepts **kwargs in the constructor and passes those keyword args to the first call to _query. The keyword args are not saved though, so subsequent calls to _query in the next method do not pass the keyword args. This means that the first query will respect arguments like retry_transient_errors but subsequent calls will not.

Expected Behavior

Keyword args passed to GitlabList apply to all query calls for that list.

Actual Behavior

Keyword args passed to GitlabList apply only to the first query call.

Specifications

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions