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

Method __init__

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

Source from the content-addressed store, hash-verified

7891 """A span processor that raises when a span starts, or else when one ends."""
7892
7893 def __init__(self, failure: str) -> None:
7894 self.failure = failure
7895
7896 @override
7897 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