From 28eb7eab8fbe3750fb56e85967e8179b7025f441 Mon Sep 17 00:00:00 2001 From: Florian <7816109+Flor1an-dev@users.noreply.github.com> Date: Thu, 16 Apr 2020 13:54:34 +0200 Subject: feat(api): added support in the GroupManager to upload Group avatars --- gitlab/v4/objects.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gitlab/v4/objects.py') 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): -- cgit v1.2.1