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

Method function

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected