@@ -2219,13 +2219,14 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager):
22192219 _create_attrs = (
22202220 ('source_branch' , 'target_branch' , 'title' ),
22212221 ('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' )
22232224 )
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 ' ))
22292230 _list_filters = ('state' , 'order_by' , 'sort' , 'milestone' , 'view' ,
22302231 'labels' , 'created_after' , 'created_before' ,
22312232 'updated_after' , 'updated_before' , 'scope' , 'author_id' ,
0 commit comments