Skip to content

Commit

Permalink
chore(group): update group_manager attributes (#1062)
Browse files Browse the repository at this point in the history
* chore(group): update group_manager attributes

Co-Authored-By: Nejc Habjan <hab.nejc@gmail.com>
  • Loading branch information
max-wittig and nejch committed Apr 6, 2020
1 parent 50fcd12 commit fa34f5e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion gitlab/v4/objects.py
Expand Up @@ -1408,15 +1408,27 @@ class GroupManager(CRUDMixin, RESTManager):
"statistics",
"owned",
"with_custom_attributes",
"min_access_level",
)
_create_attrs = (
("name", "path"),
(
"description",
"membership_lock",
"visibility",
"parent_id",
"share_with_group_lock",
"require_two_factor_authentication",
"two_factor_grace_period",
"project_creation_level",
"auto_devops_enabled",
"subgroup_creation_level",
"emails_disabled",
"avatar",
"mentions_disabled",
"lfs_enabled",
"request_access_enabled",
"parent_id",
"default_branch_protection",
),
)
_update_attrs = (
Expand All @@ -1425,9 +1437,20 @@ class GroupManager(CRUDMixin, RESTManager):
"name",
"path",
"description",
"membership_lock",
"share_with_group_lock",
"visibility",
"require_two_factor_authentication",
"two_factor_grace_period",
"project_creation_level",
"auto_devops_enabled",
"subgroup_creation_level",
"emails_disabled",
"avatar",
"mentions_disabled",
"lfs_enabled",
"request_access_enabled",
"default_branch_protection",
),
)

Expand Down

0 comments on commit fa34f5e

Please sign in to comment.