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

Method read

tests/test_open_telemetry.py:1942–1947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected