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

Commit1714d0a

Browse files
nejchJohnVillalovos
authored andcommitted
fix(cli): add missing attributes for creating MRs
1 parent20c46a0 commit1714d0a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎gitlab/v4/objects/merge_requests.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,18 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager):
401401
_create_attrs=RequiredOptional(
402402
required=("source_branch","target_branch","title"),
403403
optional=(
404+
"allow_collaboration",
405+
"allow_maintainer_to_push",
406+
"approvals_before_merge",
404407
"assignee_id",
408+
"assignee_ids",
405409
"description",
406-
"target_project_id",
407410
"labels",
408411
"milestone_id",
409412
"remove_source_branch",
410-
"allow_maintainer_to_push",
411-
"squash",
412413
"reviewer_ids",
414+
"squash",
415+
"target_project_id",
413416
),
414417
)
415418
_update_attrs=RequiredOptional(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp