Skip to content

Commit 847da60

Browse files
committed
chore: rename ExportMixin to DownloadMixin
1 parent 8c3d744 commit 847da60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def approve(self, access_level=gitlab.DEVELOPER_ACCESS, **kwargs):
443443
self._update_attrs(server_data)
444444

445445

446-
class ExportMixin(object):
446+
class DownloadMixin(object):
447447
@cli.register_custom_action(("GroupExport", "ProjectExport"))
448448
@exc.on_http_error(exc.GitlabGetError)
449449
def download(self, streamed=False, action=None, chunk_size=1024, **kwargs):

gitlab/v4/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ class GroupEpicManager(CRUDMixin, RESTManager):
991991
_types = {"labels": types.ListAttribute}
992992

993993

994-
class GroupExport(ExportMixin, RESTObject):
994+
class GroupExport(DownloadMixin, RESTObject):
995995
_id_attr = None
996996

997997

@@ -4147,7 +4147,7 @@ class ProjectWikiManager(CRUDMixin, RESTManager):
41474147
_list_filters = ("with_content",)
41484148

41494149

4150-
class ProjectExport(ExportMixin, RefreshMixin, RESTObject):
4150+
class ProjectExport(DownloadMixin, RefreshMixin, RESTObject):
41514151
_id_attr = None
41524152

41534153

0 commit comments

Comments
 (0)