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

Method function

tests/test_open_telemetry.py:8174–8176  ·  view source on GitHub ↗
(*_args: object, **_kwargs: object)

Source from the content-addressed store, hash-verified

8172
8173 def refuse(name: str) -> Callable[..., Any]:
8174 def function(*_args: object, **_kwargs: object) -> Any:
8175 called_names.append(name)
8176 raise AssertionError(f"`opentelemetry.trace.{name}` was called")
8177
8178 return function
8179

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected