Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2322542

Browse files
committed
Add support for query ldap groups links
1 parent227607c commit2322542

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎gitlab/v4/objects/groups.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"GroupDescendantGroupManager",
3939
"GroupSubgroup",
4040
"GroupSubgroupManager",
41+
"GroupLdapLinks",
42+
"GroupLdapLinksManager",
4143
]
4244

4345

@@ -71,6 +73,7 @@ class Group(SaveMixin, ObjectDeleteMixin, RESTObject):
7173
subgroups:"GroupSubgroupManager"
7274
variables:GroupVariableManager
7375
wikis:GroupWikiManager
76+
ldap_group_links:"GroupLdapLinksManager"
7477

7578
@cli.register_custom_action("Group", ("project_id",))
7679
@exc.on_http_error(exc.GitlabTransferProjectError)
@@ -320,6 +323,14 @@ class GroupSubgroupManager(ListMixin, RESTManager):
320323
_types= {"skip_groups":types.ListAttribute}
321324

322325

326+
classGroupLdapLinks(RESTObject):
327+
pass
328+
329+
classGroupLdapLinksManager(ListMixin,RESTManager):
330+
_path="/groups/%(group_id)s/ldap_group_links"
331+
_obj_cls=GroupLdapLinks
332+
_from_parent_attrs= {"group_id":"id"}
333+
323334
classGroupDescendantGroup(RESTObject):
324335
pass
325336

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp