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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

stream_eventsFunction · 0.85
sseFunction · 0.70

Tested by

no test coverage detected