MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / chunked

Function chunked

src/core/service/functions.py:26–28  ·  view source on GitHub ↗
(iterable: list[T], size: int)

Source from the content-addressed store, hash-verified

24
25
26def chunked(iterable: list[T], size: int) -> Generator[list[T]]:
27 for i in range(0, len(iterable), size):
28 yield iterable[i : i + size]
29
30
31def to_invert_case(s: str) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected