Skip to content

Commit 048b1cf

Browse files
author
Gauvain Pocentek
committed
Groups can be updated
1 parent 075345a commit 048b1cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,10 @@ class GroupProjectManager(BaseManager):
712712

713713
class Group(GitlabObject):
714714
_url = '/groups'
715-
canUpdate = False
716715
_constructorTypes = {'projects': 'Project'}
717716
requiredCreateAttrs = ['name', 'path']
718717
optionalCreateAttrs = ['description', 'visibility_level']
718+
optionalUpdateAttrs = ['name', 'path', 'description', 'visibility_level']
719719
shortPrintAttr = 'name'
720720
managers = [('members', GroupMemberManager, [('group_id', 'id')]),
721721
('projects', GroupProjectManager, [('group_id', 'id')])]

0 commit comments

Comments
 (0)