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

Commitbea8ea9

Browse files
committed
Fix that --title is a required argument, when trying to update a ProjectMilestone
1 parentc305459 commitbea8ea9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎gitlab/objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@ class ProjectMilestone(GitlabObject):
12261226
requiredUrlAttrs= ['project_id']
12271227
requiredCreateAttrs= ['title']
12281228
optionalCreateAttrs= ['description','due_date','state_event']
1229+
optionalUpdateAttrs=requiredCreateAttrs+optionalCreateAttrs
12291230
shortPrintAttr='title'
12301231

12311232
defissues(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp