Skip to content

Commit

Permalink
Update MR attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed May 29, 2018
1 parent 9be50be commit 2332904
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions gitlab/v4/objects.py
Expand Up @@ -1856,12 +1856,18 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager):
_create_attrs = (
('source_branch', 'target_branch', 'title'),
('assignee_id', 'description', 'target_project_id', 'labels',
'milestone_id', 'remove_source_branch')
'milestone_id', 'remove_source_branch', 'allow_maintainer_to_push')
)
_update_attrs = (tuple(), ('target_branch', 'assignee_id', 'title',
'description', 'state_event', 'labels',
'milestone_id'))
_list_filters = ('iids', 'state', 'order_by', 'sort')
_update_attrs = (tuple(),
('target_branch', 'assignee_id', 'title', 'description',
'state_event', 'labels', 'milestone_id',
'remove_source_branch', 'discussion_locked',
'allow_maintainer_to_push'))
_list_filters = ('state', 'order_by', 'sort', 'milestone', 'view',
'labels', 'created_after', 'created_before',
'updated_after', 'updated_before', 'scope', 'author_id',
'assignee_id', 'my_reaction_emoji', 'source_branch',
'target_branch', 'search')
_types = {'labels': types.ListAttribute}


Expand Down

0 comments on commit 2332904

Please sign in to comment.