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

Method __init__

tests/test_open_telemetry.py:701–702  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

699 """Keeps each span from its start, so that a test can read the attributes of one that has not ended."""
700
701 def __init__(self) -> None:
702 self.spans: list[SdkSpan] = []
703
704 @override
705 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