diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-04-24 17:12:43 -0700 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-04-27 08:19:12 -0700 |
| commit | 45f806c7a7354592befe58a76b7e33a6d5d0fe6e (patch) | |
| tree | 3e0f733d0fd39c70ed375a0e23eedf028a036436 /gitlab | |
| parent | 909aa9a02b8a0eb2faed747bfbf5839c53266129 (diff) | |
| download | gitlab-45f806c7a7354592befe58a76b7e33a6d5d0fe6e.tar.gz | |
fix: iids not working as a list in projects.issues.list()
Set the 'iids' values as type ListAttribute so it will pass the list
as a comma-separated string, instead of a list.
Add a functional test.
Closes: #1407
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/v4/objects/issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/issues.py b/gitlab/v4/objects/issues.py index cdaeaba..c3c35d3 100644 --- a/gitlab/v4/objects/issues.py +++ b/gitlab/v4/objects/issues.py @@ -220,7 +220,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager): "discussion_locked", ), ) - _types = {"labels": types.ListAttribute} + _types = {"iids": types.ListAttribute, "labels": types.ListAttribute} class ProjectIssueLink(ObjectDeleteMixin, RESTObject): |
