Skip to content

Commit 499243b

Browse files
authored
feat(api): support list and delete for group service accounts (#2963)
1 parent ffa88b3 commit 499243b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitlab/v4/objects/service_accounts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
from gitlab.base import RESTManager, RESTObject
2-
from gitlab.mixins import CreateMixin
2+
from gitlab.mixins import CreateMixin, DeleteMixin, ListMixin, ObjectDeleteMixin
33
from gitlab.types import RequiredOptional
44

55
__all__ = ["GroupServiceAccount", "GroupServiceAccountManager"]
66

77

8-
class GroupServiceAccount(RESTObject):
8+
class GroupServiceAccount(ObjectDeleteMixin, RESTObject):
99
pass
1010

1111

12-
class GroupServiceAccountManager(CreateMixin, RESTManager):
12+
class GroupServiceAccountManager(CreateMixin, DeleteMixin, ListMixin, RESTManager):
1313
_path = "/groups/{group_id}/service_accounts"
1414
_obj_cls = GroupServiceAccount
1515
_from_parent_attrs = {"group_id": "id"}

0 commit comments

Comments
 (0)