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

Function attributes

tests/lib/tools/test_open_telemetry.py:143–144  ·  view source on GitHub ↗
(span: ReadableSpan)

Source from the content-addressed store, hash-verified

141
142
143def attributes(span: ReadableSpan) -> dict[str, Any]:
144 return dict(span.attributes or {})
145
146
147def span_id(span: ReadableSpan | Span) -> int:

Calls

no outgoing calls

Tested by

no test coverage detected