/opt/imh-python/lib/python3.9/site-packages/ldap
NameSizeModeActions
controls/-0755rm
extop/-0755rm
schema/-0755rm
__pycache__/-0755rm
async.py3350644editdlrm
asyncsearch.py76360644editdlrm
cidict.py28940644editdlrm
compat.py44830644editdlrm
constants.py111760644editdlrm
dn.py32170644editdlrm
filter.py24020644editdlrm
functions.py34100644editdlrm
ldapobject.py498000644editdlrm
logger.py3880644editdlrm
modlist.py35300644editdlrm
pkginfo.py1880644editdlrm
resiter.py12430644editdlrm
sasl.py43810644editdlrm
syncrepl.py186330644editdlrm
__init__.py30570644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/ldap/resiter.py (1243B)
""" ldap.resiter - processing LDAP results with iterators See https://www.python-ldap.org/ for details. """ from ldap.pkginfo import __version__, __author__, __license__ class ResultProcessor: """ Mix-in class used with ldap.ldapopbject.LDAPObject or derived classes. """ def allresults(self, msgid, timeout=-1, add_ctrls=0): """ Generator function which returns an iterator for processing all LDAP operation results of the given msgid like retrieved with LDAPObject.result3() -> 4-tuple """ result_type, result_list, result_msgid, result_serverctrls, _, _ = \ self.result4( msgid, 0, timeout, add_ctrls=add_ctrls ) while result_type and result_list: yield ( result_type, result_list, result_msgid, result_serverctrls ) result_type, result_list, result_msgid, result_serverctrls, _, _ = \ self.result4( msgid, 0, timeout, add_ctrls=add_ctrls ) return # allresults()