(client_cls: ClientClass, **kwargs: Any)
| 27 | |
| 28 | |
| 29 | def make_client(client_cls: ClientClass, **kwargs: Any) -> Anthropic | AsyncAnthropic: |
| 30 | kwargs.setdefault("api_key", api_key) |
| 31 | return client_cls(base_url=base_url, _strict_response_validation=True, **kwargs) |
| 32 | |
| 33 | |
| 34 | def build(client: Anthropic | AsyncAnthropic, **options: Any) -> httpx2.Request: |
no outgoing calls
no test coverage detected