Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ parent_id
Function
parent_id
tests/test_open_telemetry.py:226–228 ·
view source on GitHub ↗
(span: ReadableSpan)
Source
from the content-addressed store, hash-verified
224
225
226
def
parent_id(span: ReadableSpan) -> int:
227
assert span.parent is not None
228
return
span.parent.span_id
229
230
231
class
MockRequestCall(Protocol):
Callers
2
test_unary_attributes
Method · 0.70
test_spans_that_start_during_the_call_are_children_of_the_call_span
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected