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

Function construct

tests/lib/test_client_copy.py:206–209  ·  view source on GitHub ↗
(client_class: ClientClass, *arguments: dict[str, object])

Source from the content-addressed store, hash-verified

204
205
206def construct(client_class: ClientClass, *arguments: dict[str, object]) -> Any:
207 return cast("Callable[..., Any]", client_class)(
208 **{name: value for group in arguments for name, value in group.items()}
209 )
210
211
212def stored_state(client: object) -> dict[str, Any]:

Calls

no outgoing calls

Tested by

no test coverage detected