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

Method __next__

tests/test_open_telemetry.py:1929–1934  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1927 return self
1928
1929 def __next__(self) -> bytes:
1930 for chunk in self.chunks:
1931 return chunk
1932 self.waiting.set()
1933 self.released.wait(5)
1934 raise StopIteration
1935
1936 body = Body()
1937 respx_mock.post("/v1/messages").mock(

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected