summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects')
-rw-r--r--gitlab/v4/objects/merge_requests.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/gitlab/v4/objects/merge_requests.py b/gitlab/v4/objects/merge_requests.py
index 8a6fcfa..6a47b7b 100644
--- a/gitlab/v4/objects/merge_requests.py
+++ b/gitlab/v4/objects/merge_requests.py
@@ -401,15 +401,18 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager):
_create_attrs = RequiredOptional(
required=("source_branch", "target_branch", "title"),
optional=(
+ "allow_collaboration",
+ "allow_maintainer_to_push",
+ "approvals_before_merge",
"assignee_id",
+ "assignee_ids",
"description",
- "target_project_id",
"labels",
"milestone_id",
"remove_source_branch",
- "allow_maintainer_to_push",
- "squash",
"reviewer_ids",
+ "squash",
+ "target_project_id",
),
)
_update_attrs = RequiredOptional(