Skip to content

List groups only skips the last id provided in skip_groups #1256

@schuand

Description

@schuand

Description of the problem, including code/CLI snippet

The get groups endpoint returns a list of projects. When providing the parameter <skip_groups> the ids in the array should be skipped. The problem is that only the LAST id in the array is skipped.

Screenshot 2020-12-17 at 15 25 55

Expected Behavior

All groups that are provided in skip_groups should be skipped.

Actual Behavior

Only the group related to the last id in skip_groups is skipped.

Specifications

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions