Skip to content

Commit 77f9d92

Browse files
committed
fix(groups): making list_ldap_group_links use use function type annotations
1 parent a6fa6f8 commit 77f9d92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gitlab/v4/objects/groups.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ def delete_ldap_group_link(
196196

197197
@cli.register_custom_action("Group")
198198
@exc.on_http_error(exc.GitlabGetError)
199-
def list_ldap_group_links(self, **kwargs):
199+
def list_ldap_group_links(
200+
self, **kwargs: Any
201+
) -> Union[gitlab.GitlabList, List[Dict[str, Any]]]:
200202
"""List LDAP group links.
201203
202204
Args:

0 commit comments

Comments
 (0)