linotp.lib.useriterator module

methodes to iterate through users

linotp.lib.useriterator.iterate_resolverusers(user_iterators)

build a userlist iterator / generator that returns the ResolverUser on demand

Parameters

user_iterators – list of tuple (userlist iterators, resolver descr)

Returns

generator of ResolverUsers (yield)

linotp.lib.useriterator.iterate_users(user_iterators)

build a userlist iterator / generator that returns the user data on demand

Parameters

user_iterators – list of tuple (userlist iterators, resolver descr)

Returns

generator of user data dicts (yield)