FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(api): support list and delete for group service accounts (#2963) · python-gitlab/python-gitlab@499243b · GitHub

Repository navigation

Commit 499243b

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL