We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9a4c4 commit 61bc24fCopy full SHA for 61bc24f
gitlab/objects.py
@@ -664,6 +664,7 @@ class Group(GitlabObject):
664
canUpdate = False
665
_constructorTypes = {'projects': 'Project'}
666
requiredCreateAttrs = ['name', 'path']
667
+ optionalCreateAttrs = ['description', 'visibility_level']
668
shortPrintAttr = 'name'
669
managers = [('members', GroupMemberManager, [('group_id', 'id')])]
670
@@ -673,6 +674,10 @@ class Group(GitlabObject):
673
674
MASTER_ACCESS = 40
675
OWNER_ACCESS = 50
676
677
+ VISIBILITY_PRIVATE = 0
678
+ VISIBILITY_INTERNAL = 10
679
+ VISIBILITY_PUBLIC = 20
680
+
681
def Member(self, id=None, **kwargs):
682
warnings.warn("`Member` is deprecated, use `members` instead",
683
DeprecationWarning)
0 commit comments