diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2020-04-18 00:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 00:56:00 +0200 |
commit | 7907e5a4b602d22d03d71ca51c6803f634bd8a78 (patch) | |
tree | fa747894bbcf9fae54e199e3de0470991b819ba2 /gitlab/v4/objects.py | |
parent | dad505c5e6aac3081ed796227e8f21d28b217ea0 (diff) | |
parent | 28eb7eab8fbe3750fb56e85967e8179b7025f441 (diff) | |
download | gitlab-7907e5a4b602d22d03d71ca51c6803f634bd8a78.tar.gz |
Merge pull request #1077 from Flor1an-dev/master
feat(api): added support in the GroupManager to upload Group avatars
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r-- | gitlab/v4/objects.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index a76332c..756ec4f 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1513,6 +1513,7 @@ class GroupManager(CRUDMixin, RESTManager): "default_branch_protection", ), ) + _types = {"avatar": types.ImageAttribute} @exc.on_http_error(exc.GitlabImportError) def import_group(self, file, path, name, parent_id=None, **kwargs): |