You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trying to list merge requests containing specific approver_ids returns an exception #1010
Calling that code raises the following exception (GitLab EE):
Traceback (most recent call last):
File "/venv/lib/python3.7/site-packages/gitlab/exceptions.py", line 267, in wrapped_f
return f(*args, **kwargs)
File "/venv/lib/python3.7/site-packages/gitlab/mixins.py", line 141, in list
obj = self.gitlab.http_list(path, **data)
File "/venv/lib/python3.7/site-packages/gitlab/__init__.py", line 648, in http_list
return list(GitlabList(self, url, query_data, get_next=False, **kwargs))
File "/venv/lib/python3.7/site-packages/gitlab/__init__.py", line 771, in __init__
self._query(url, query_data, **kwargs)
File "/venv/lib/python3.7/site-packages/gitlab/__init__.py", line 776, in _query
result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
File "/venv/lib/python3.7/site-packages/gitlab/__init__.py", line 572, in http_request
response_body=result.content,
gitlab.exceptions.GitlabHttpError: 400: approver_ids should be an array, 'None' or 'Any'
Activity
max-wittig commentedon Feb 10, 2020
This will be fixed by #1005, but I haven't gotten to testing it yet. Will do so soon.
sim0nx commentedon Feb 10, 2020
Thank you! Appreciate that!
max-wittig commentedon Feb 12, 2020
Should be fixed with the next release