a Æ*Na^ã@sLddlmZddlmZmZmZddgZGdd„deƒZGdd„deƒZ dS)é)Ú exceptions)Ú RESTManagerÚ RESTObjectÚRESTObjectListÚ LDAPGroupÚLDAPGroupManagerc@seZdZdZdS)rN)Ú__name__Ú __module__Ú __qualname__Z_id_attr©r r úq/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/gitlab/v4/objects/ldap.pyr sc@s,eZdZdZeZdZe ej ¡dd„ƒZ dS)rz /ldap/groups)ÚsearchÚproviderc s~| ¡}ˆjjr | dˆjj¡d|vr6d|d}nˆj}ˆjj|fi|¤Ž}t|tƒrl‡fdd„|DƒStˆˆj |ƒSdS)aÐRetrieve a list of objects. Args: all (bool): If True, return all the items, without pagination per_page (int): Number of items to retrieve per request page (int): ID of the page to return (starts with page 1) as_list (bool): If set to False and no pagination option is defined, return a generator instead of a list **kwargs: Extra options to send to the server (e.g. sudo) Returns: list: The list of objects, or a generator if `as_list` is False Raises: GitlabAuthenticationError: If authentication is not correct GitlabListError: If the server cannot perform the request Úper_pagerz/ldap/%s/groupscsg|]}ˆ ˆ|¡‘qSr )Ú_obj_cls)Ú.0Úitem©Úselfr r Ú 1óz)LDAPGroupManager.list..N) ÚcopyÚgitlabrÚ setdefaultÚ_pathZ http_listÚ isinstanceÚlistrr)rÚkwargsÚdataÚpathÚobjr rr rs zLDAPGroupManager.listN) rr r rrrZ _list_filtersÚexcZ on_http_errorZGitlabListErrorrr r r r rs  N) rrr!Z gitlab.baserrrÚ__all__rrr r r r Ús þ