Skip to content

Commit b57fbf2

Browse files
committed
feat(api): add DeleteMixin, ListMixin to GroupServiceAccountManager and ObjectDeleteMixin to GroupServiceAccount
1 parent bcef988 commit b57fbf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitlab/v4/objects/service_accounts.py

+3-3
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)