MatrixSynapse/synapse/util
Adrian Tschira 45b55e23d3 Add batch_iter to utils
There's a frequent idiom I noticed where an iterable is split up into a
number of chunks/batches. Unfortunately that method does not work with
iterators like dict.keys() in python3. This implementation works with
iterators.

Signed-off-by: Adrian Tschira <nota@notafile.com>
2018-05-19 17:48:30 +02:00
..
caches
__init__.py Add batch_iter to utils 2018-05-19 17:48:30 +02:00
async.py
distributor.py
file_consumer.py
frozenutils.py
httpresourcetree.py
jsonobject.py
logcontext.py
logformatter.py
logutils.py
manhole.py
metrics.py
module_loader.py
msisdn.py
ratelimitutils.py
retryutils.py
rlimit.py
stringutils.py
threepids.py
versionstring.py
wheel_timer.py