summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/groups.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-01-22 20:11:18 +0100
committerJohn Villalovos <john@sodarock.com>2022-01-23 07:14:49 -0800
commit019a40f840da30c74c1e74522a7707915061c756 (patch)
tree84806a6a03d027f8bea087ba752132c907f737c7 /gitlab/v4/objects/groups.py
parentae2a015db1017d3bf9b5f1c5893727da9b0c937f (diff)
downloadgitlab-019a40f840da30c74c1e74522a7707915061c756.tar.gz
style: use literals to declare data structures
Diffstat (limited to 'gitlab/v4/objects/groups.py')
-rw-r--r--gitlab/v4/objects/groups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/groups.py b/gitlab/v4/objects/groups.py
index 07bcbbf..5e2ac00 100644
--- a/gitlab/v4/objects/groups.py
+++ b/gitlab/v4/objects/groups.py
@@ -95,7 +95,7 @@ class Group(SaveMixin, ObjectDeleteMixin, RESTObject):
path = f"/groups/{self.encoded_id}/projects/{project_id}"
self.manager.gitlab.http_post(path, **kwargs)
- @cli.register_custom_action("Group", tuple(), ("group_id",))
+ @cli.register_custom_action("Group", (), ("group_id",))
@exc.on_http_error(exc.GitlabGroupTransferError)
def transfer(self, group_id: Optional[int] = None, **kwargs: Any) -> None:
"""Transfer the group to a new parent group or make it a top-level group.