diff options
author | Florian <7816109+Flor1an-dev@users.noreply.github.com> | 2020-04-16 13:54:34 +0200 |
---|---|---|
committer | Florian Hartmann <hartmann.florian@siemens.com> | 2020-04-17 11:53:25 +0200 |
commit | 28eb7eab8fbe3750fb56e85967e8179b7025f441 (patch) | |
tree | 206a288468581e869bfd41a4033517164b1ffe4a /gitlab/v4/objects.py | |
parent | 70cefe4d5b7f29db6c8c1deef524076510fd350a (diff) | |
download | gitlab-28eb7eab8fbe3750fb56e85967e8179b7025f441.tar.gz |
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 29b10fc..0e6056c 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): |