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

Method __init__

tests/test_tracing.py:69–72  ·  view source on GitHub ↗
(self, *, sampled: bool = True)

Source from the content-addressed store, hash-verified

67
68class RecordingProvider(TracerProvider):
69 def __init__(self, *, sampled: bool = True) -> None:
70 self.spans: list[RecordingSpan] = []
71 self.sampled = sampled
72 self.tracers = 0
73
74 @override
75 def get_tracer(self, *args: Any, **kwargs: Any) -> Tracer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected