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

Function call

tests/test_open_telemetry.py:3777–3780  ·  view source on GitHub ↗

Creates a Message with a synchronous or an asynchronous client.

(client: Any)

Source from the content-addressed store, hash-verified

3775
3776
3777async def call(client: Any) -> Any:
3778 """Creates a Message with a synchronous or an asynchronous client."""
3779 result = create(client)
3780 return await result if inspect.isawaitable(result) else result
3781
3782
3783@SYNC_AND_ASYNC

Calls 1

createFunction · 0.70

Tested by

no test coverage detected