summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitlab/mixins.py2
-rw-r--r--gitlab/v4/objects.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py
index 3053427..9c00c32 100644
--- a/gitlab/mixins.py
+++ b/gitlab/mixins.py
@@ -443,7 +443,7 @@ class AccessRequestMixin(object):
self._update_attrs(server_data)
-class ExportMixin(object):
+class DownloadMixin(object):
@cli.register_custom_action(("GroupExport", "ProjectExport"))
@exc.on_http_error(exc.GitlabGetError)
def download(self, streamed=False, action=None, chunk_size=1024, **kwargs):
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 02e6981..09160c8 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -991,7 +991,7 @@ class GroupEpicManager(CRUDMixin, RESTManager):
_types = {"labels": types.ListAttribute}
-class GroupExport(ExportMixin, RESTObject):
+class GroupExport(DownloadMixin, RESTObject):
_id_attr = None
@@ -4147,7 +4147,7 @@ class ProjectWikiManager(CRUDMixin, RESTManager):
_list_filters = ("with_content",)
-class ProjectExport(ExportMixin, RefreshMixin, RESTObject):
+class ProjectExport(DownloadMixin, RefreshMixin, RESTObject):
_id_attr = None