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

Method set_attribute

tests/test_tracing.py:45–46  ·  view source on GitHub ↗
(self, key: str, value: Any)

Source from the content-addressed store, hash-verified

43
44 @override
45 def set_attribute(self, key: str, value: Any) -> None:
46 self.attributes[key] = value
47
48 @override
49 def end(self, end_time: int | None = None) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected