@@ -2219,13 +2219,14 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager):
2219
2219
_create_attrs = (
2220
2220
('source_branch' , 'target_branch' , 'title' ),
2221
2221
('assignee_id' , 'description' , 'target_project_id' , 'labels' ,
2222
- 'milestone_id' , 'remove_source_branch' , 'allow_maintainer_to_push' )
2222
+ 'milestone_id' , 'remove_source_branch' , 'allow_maintainer_to_push' ,
2223
+ 'squash' )
2223
2224
)
2224
- _update_attrs = (tuple (),
2225
- ( 'target_branch' , 'assignee_id' , 'title' , 'description' ,
2226
- 'state_event ' , 'labels ' , 'milestone_id ' ,
2227
- 'remove_source_branch' , 'discussion_locked' ,
2228
- 'allow_maintainer_to_push' ))
2225
+ _update_attrs = (
2226
+ tuple () ,
2227
+ ( 'target_branch' , 'assignee_id' , 'title ' , 'description ' , 'state_event ' ,
2228
+ 'labels' , 'milestone_id' , 'remove_source_branch' , 'discussion_locked' ,
2229
+ 'allow_maintainer_to_push' , 'squash ' ))
2229
2230
_list_filters = ('state' , 'order_by' , 'sort' , 'milestone' , 'view' ,
2230
2231
'labels' , 'created_after' , 'created_before' ,
2231
2232
'updated_after' , 'updated_before' , 'scope' , 'author_id' ,
0 commit comments