Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9259041

Browse files
author
Gauvain Pocentek
committed
[v4] Update iid attr for issues and MRs
1 parentaf70ec3 commit9259041

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎gitlab/v4/objects.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,8 +921,7 @@ class ProjectIssue(GitlabObject):
921921
_url='/projects/%(project_id)s/issues/'
922922
_constructorTypes= {'author':'User','assignee':'User',
923923
'milestone':'ProjectMilestone'}
924-
optionalListAttrs= ['state','labels','milestone','iid','order_by',
925-
'sort']
924+
optionalListAttrs= ['state','labels','milestone','order_by','sort']
926925
requiredUrlAttrs= ['project_id']
927926
requiredCreateAttrs= ['title']
928927
optionalCreateAttrs= ['description','assignee_id','milestone_id',
@@ -1178,7 +1177,7 @@ class ProjectMergeRequest(GitlabObject):
11781177
optionalUpdateAttrs= ['target_branch','assignee_id','title',
11791178
'description','state_event','labels',
11801179
'milestone_id']
1181-
optionalListAttrs= ['iid','state','order_by','sort']
1180+
optionalListAttrs= ['iids','state','order_by','sort']
11821181

11831182
managers= (
11841183
('notes','ProjectMergeRequestNoteManager',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp