Skip to content

GitlabList only passing kwargs to first query call #1123

Closed

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

Activity

  1. added a commit that references this issue on Jun 30, 2020
    424a8cb
  2. locked as resolved and limited conversation to collaborators on Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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