xch-blockchain/chia/plotting
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|pre-commit: Add missing `__init__.py` files (#8758) 2021-12-16 18:52:46 -08:00
cache.py Factor out member functions of `ProofOfSpace` to be free functions (#13930) 2022-11-17 13:46:22 -06:00
check_plots.py hint chia.plotting.check_plots (#14691) 2023-02-28 11:42:39 -06:00
create_plots.py hint chia.plotting.create_plots (#14692) 2023-03-08 12:57:50 -06:00
manager.py util: Improve `list_to_batches` (#15415) 2023-06-06 12:00:07 -05:00
util.py hint chia.plotting.create_plots (#14692) 2023-03-08 12:57:50 -06:00