MatrixSynapse/synapse
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
..
api
app Merge pull request #3163 from matrix-org/cohort_analytics 2018-05-16 10:09:24 +00:00
appservice
config Replace inline docstrings with "Attributes" in class docstring 2018-05-18 11:00:55 +01:00
crypto
events
federation Merge pull request #3209 from damir-manapov/master 2018-05-11 00:35:13 +01:00
groups
handlers Merge pull request #3232 from matrix-org/rav/server_notices_room 2018-05-18 11:28:04 +01:00
http Merge pull request #3213 from matrix-org/rav/consent_handler 2018-05-16 07:19:18 +01:00
metrics
module_api
push
replication
rest Merge pull request #3221 from matrix-org/erikj/purge_token 2018-05-18 10:35:23 +01:00
server_notices Better docstrings 2018-05-18 11:22:12 +01:00
static/client
storage fix psql compatability bug 2018-05-18 15:51:21 +01:00
streams
util Add batch_iter to utils 2018-05-19 17:48:30 +02:00
__init__.py bump version, change log 2018-05-17 21:35:07 +01:00
event_auth.py
notifier.py
python_dependencies.py
server.py Infrastructure for a server notices room 2018-05-17 17:58:25 +01:00
server.pyi Infrastructure for a server notices room 2018-05-17 17:58:25 +01:00
state.py Measure time it takes to calculate state group ID 2018-03-28 11:03:52 +01:00
types.py
visibility.py