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

Function url_attributes

tests/test_open_telemetry.py:2900–2901  ·  view source on GitHub ↗
(span: ReadableSpan)

Source from the content-addressed store, hash-verified

2898
2899
2900def url_attributes(span: ReadableSpan) -> dict[str, Any]:
2901 return {key: value for key, value in attributes(span).items() if key.startswith("url.")}
2902
2903
2904async def call_client(sync: bool, spans: Spans, invoke: Callable[[Any], Any], **options: Any) -> Any:

Calls 1

attributesFunction · 0.70

Tested by

no test coverage detected