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

Method __init__

tests/lib/tools/test_open_telemetry.py:117–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115
116class Spans:
117 def __init__(self) -> None:
118 self.exporter = InMemorySpanExporter()
119 self.provider = TracerProvider()
120 self.provider.add_span_processor(SimpleSpanProcessor(self.exporter))
121
122 @property
123 def finished(self) -> Sequence[ReadableSpan]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected