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

Method on_start

tests/test_open_telemetry.py:705–706  ·  view source on GitHub ↗
(self, span: SdkSpan, parent_context: context.Context | None = None)

Source from the content-addressed store, hash-verified

703
704 @override
705 def on_start(self, span: SdkSpan, parent_context: context.Context | None = None) -> None:
706 self.spans.append(span)
707
708
709def assert_time_to_first_chunk_is_set_at_the_first_delta(

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected