summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/services.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-01-23 01:15:21 +0100
committerJohn Villalovos <john@sodarock.com>2022-01-23 07:14:49 -0800
commit618267ced7aaff46d8e03057fa0cab48727e5dc0 (patch)
treeee4921cf73a743821bf4cb9b01a8728f9e1dfa64 /gitlab/v4/objects/services.py
parente8031f42b6804415c4afee4302ab55462d5848ac (diff)
downloadgitlab-618267ced7aaff46d8e03057fa0cab48727e5dc0.tar.gz
chore: don't explicitly pass args to super()
Diffstat (limited to 'gitlab/v4/objects/services.py')
-rw-r--r--gitlab/v4/objects/services.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/services.py b/gitlab/v4/objects/services.py
index 9811a3a..9b8e7f3 100644
--- a/gitlab/v4/objects/services.py
+++ b/gitlab/v4/objects/services.py
@@ -282,7 +282,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
"""
obj = cast(
ProjectService,
- super(ProjectServiceManager, self).get(id, lazy=lazy, **kwargs),
+ super().get(id, lazy=lazy, **kwargs),
)
obj.id = id
return obj
@@ -308,7 +308,7 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
GitlabUpdateError: If the server cannot perform the request
"""
new_data = new_data or {}
- result = super(ProjectServiceManager, self).update(id, new_data, **kwargs)
+ result = super().update(id, new_data, **kwargs)
self.id = id
return result