summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/ldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/ldap.py')
-rw-r--r--gitlab/v4/objects/ldap.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitlab/v4/objects/ldap.py b/gitlab/v4/objects/ldap.py
index cecb1e9..0ba9354 100644
--- a/gitlab/v4/objects/ldap.py
+++ b/gitlab/v4/objects/ldap.py
@@ -1,3 +1,5 @@
+from typing import Any, List, Union
+
from gitlab import exceptions as exc
from gitlab.base import RESTManager, RESTObject, RESTObjectList
@@ -17,7 +19,7 @@ class LDAPGroupManager(RESTManager):
_list_filters = ("search", "provider")
@exc.on_http_error(exc.GitlabListError)
- def list(self, **kwargs):
+ def list(self, **kwargs: Any) -> Union[List[LDAPGroup], RESTObjectList]:
"""Retrieve a list of objects.
Args: