Skip to content

Commit 265bc13

Browse files
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. Closes: #1407
1 parent dde01c7 commit 265bc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/issues.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager):
220220
"discussion_locked",
221221
),
222222
)
223-
_types = {"labels": types.ListAttribute}
223+
_types = {"iids": types.ListAttribute, "labels": types.ListAttribute}
224224

225225

226226
class ProjectIssueLink(ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
 (0)