MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / pages

Function pages

tests/test_prepare.py:783–785  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

781 yield {"k": [i]}
782
783 def pages() -> Iterator[dict[str, object]]:
784 for _ in range(3):
785 yield {"x": rows()}
786
787 assert await send({"items": pages()}) == {"items": [{"x": [{"k": [i]} for i in range(50)]} for _ in range(3)]}
788

Callers 1

test_circular_referenceFunction · 0.85

Calls 1

rowsFunction · 0.85

Tested by

no test coverage detected