MCPcopy Create free account
hub / github.com/dask/dask / batched

Function batched

dask/_task_spec.py:96–97  ·  view source on GitHub ↗
(iterable, n, *, strict=False)

Source from the content-addressed store, hash-verified

94if sys.hexversion >= 0x30D00A2:
95
96 def batched(iterable, n, *, strict=False):
97 return itertools.batched(iterable, n, strict=strict)
98
99else:
100 batched = _batched

Callers 3

__repr__Method · 0.85
__getitem__Method · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected