xch-blockchain/chia/plot_sync
dustinface ebc5f3c124
util: Improve `list_to_batches` (#15415)
* Make `list_to_batches` work with collections instead of lists only

* Move `to_batches` into `chia.util.misc`

* Only support `set` and `list`

* Drop `tests.generator.test_to_batches` exclusion

* Improve type restrictions and be more coverage friendly in tests
2023-06-06 12:00:07 -05:00
..
__init__.py chia|tests|github: Implement, integrate and test plot sync protocol (#9695) 2022-04-07 17:10:44 -07:00
delta.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
exceptions.py server: Enable and fix `mypy` in `ws_connection.py` (#13878) 2022-11-12 14:18:11 -06:00
receiver.py server: `peer_host` + `peer_port` -> `peer_info` in `WSChiaConnection` (#14151) 2023-04-12 11:14:38 -06:00
sender.py util: Improve `list_to_batches` (#15415) 2023-06-06 12:00:07 -05:00
util.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00