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

Method __init__

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

Source from the content-addressed store, hash-verified

1920 """A response body whose second read waits until the test lets it go."""
1921
1922 def __init__(self) -> None:
1923 self.chunks = iter([sse(stream_events()[:1])])
1924 self.waiting = threading.Event()
1925 self.released = threading.Event()
1926
1927 def __iter__(self) -> "Body":
1928 return self

Callers

nothing calls this directly

Calls 2

stream_eventsFunction · 0.85
sseFunction · 0.70

Tested by

no test coverage detected