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

Method read

tests/test_open_telemetry.py:1943–1948  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1941 stream = create(make_client(spans, open_telemetry=spans.option() if traced else False), stream=True)
1942
1943 def read() -> None:
1944 try:
1945 for _ in stream:
1946 pass
1947 except Exception:
1948 pass
1949
1950 reader = threading.Thread(target=read)
1951 reader.start()

Calls

no outgoing calls

Tested by

no test coverage detected