MCPcopy 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
226def parent_id(span: ReadableSpan) -> int:
227 assert span.parent is not None
228 return span.parent.span_id
229
230
231class MockRequestCall(Protocol):

Calls

no outgoing calls

Tested by

no test coverage detected