diff options
| author | John Villalovos <john@sodarock.com> | 2021-05-06 12:25:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-06 12:25:28 -0700 |
| commit | 45edae9d65aced6fbd41fe68463418c6e4ca39ee (patch) | |
| tree | 057acb6628b9cc838eab87a79b5d84e2bb723ae8 /gitlab/v4/objects/groups.py | |
| parent | 1ddb54a0b4605964477a0d5c5b8a895afe9c3989 (diff) | |
| parent | a014774a6a2523b73601a1930c44ac259d03a50e (diff) | |
| download | gitlab-45edae9d65aced6fbd41fe68463418c6e4ca39ee.tar.gz | |
Merge pull request #1420 from python-gitlab/fix/missing-list-attributes
fix(objects): make lists work for filters in all objects
Diffstat (limited to 'gitlab/v4/objects/groups.py')
| -rw-r--r-- | gitlab/v4/objects/groups.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/groups.py b/gitlab/v4/objects/groups.py index 4a84e99..9e27601 100644 --- a/gitlab/v4/objects/groups.py +++ b/gitlab/v4/objects/groups.py @@ -252,7 +252,7 @@ class GroupManager(CRUDMixin, RESTManager): "shared_runners_setting", ), ) - _types = {"avatar": types.ImageAttribute} + _types = {"avatar": types.ImageAttribute, "skip_groups": types.ListAttribute} @exc.on_http_error(exc.GitlabImportError) def import_group(self, file, path, name, parent_id=None, **kwargs): @@ -302,3 +302,4 @@ class GroupSubgroupManager(ListMixin, RESTManager): "with_custom_attributes", "min_access_level", ) + _types = {"skip_groups": types.ListAttribute} |
