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

Function attributes

tests/test_open_telemetry.py:210–211  ·  view source on GitHub ↗
(span: ReadableSpan)

Source from the content-addressed store, hash-verified

208
209
210def attributes(span: ReadableSpan) -> dict[str, Any]:
211 return dict(span.attributes or {})
212
213
214def span_id(span: ReadableSpan | trace.Span) -> int:

Calls

no outgoing calls

Tested by

no test coverage detected