Skip to content

Commit 6605d7a

Browse files
ka28kumarnejch
authored andcommitted
feat(api): add DeleteMixin, ListMixin to GroupServiceAccountManager and ObjectDeleteMixin to GroupServiceAccount
1 parent ffa88b3 commit 6605d7a

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy