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

Method __init__

tests/test_open_telemetry.py:7891–7892  ·  view source on GitHub ↗
(self, failure: str)

Source from the content-addressed store, hash-verified

7889 """A span processor that raises when a span starts, or else when one ends."""
7890
7891 def __init__(self, failure: str) -> None:
7892 self.failure = failure
7893
7894 @override
7895 def on_start(self, span: SdkSpan, parent_context: context.Context | None = None) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected