Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
210
def
attributes(span: ReadableSpan) -> dict[str, Any]:
211
return
dict(span.attributes or {})
212
213
214
def
span_id(span: ReadableSpan | trace.Span) -> int:
Callers
15
content_size
Function · 0.70
assert_time_to_first_chunk_is_set_at_the_first_delta
Function · 0.70
assert_span_has_what_message_delta_gave
Function · 0.70
assert_span_has_nothing_that_message_delta_gives
Function · 0.70
assert_span_has_no_sampling_attributes
Function · 0.70
test_unary_attributes
Method · 0.70
test_error_response
Method · 0.70
test_error_response_without_envelope
Method · 0.70
test_connection_error
Method · 0.70
test_timeout
Method · 0.70
test_a_retried_call_has_one_span
Method · 0.70
test_time_to_first_chunk_counts_from_the_first_attempt
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected