Skip to content

Commit

Permalink
fix: only add query_parameters to GitlabList once
Browse files Browse the repository at this point in the history
Fixes #1386
  • Loading branch information
bbatliner committed Apr 7, 2021
1 parent 1995361 commit ca2c3c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitlab/client.py
Expand Up @@ -821,6 +821,9 @@ def __init__(
self._query(url, query_data, **self._kwargs)
self._get_next = get_next

# Remove query_parameters from kwargs, which are saved via the `next` URL
self._kwargs.pop("query_parameters", None)

def _query(
self, url: str, query_data: Optional[Dict[str, Any]] = None, **kwargs: Any
) -> None:
Expand Down

0 comments on commit ca2c3c9

Please sign in to comment.