MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / __init__

Method __init__

src/anthropic/lib/foundry.py:97–111  ·  view source on GitHub ↗
(
        self,
        *,
        resource: str | None = None,
        api_key: str | None = None,
        azure_ad_token_provider: AzureADTokenProvider | None = None,
        webhook_key: str | None = None,
        timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
        max_retries: int = DEFAULT_MAX_RETRIES,
        default_headers: Mapping[str, str] | None = None,
        default_query: Mapping[str, object] | None = None,
        http_client: httpx.Client | None = None,
        middleware: Sequence[MiddlewareInput] | None = None,
        _strict_response_validation: bool = False,
    )

Source from the content-addressed store, hash-verified

95class AnthropicFoundry(BaseFoundryClient[httpx.Client, Stream[Any]], Anthropic):
96 @overload
97 def __init__(
98 self,
99 *,
100 resource: str | None = None,
101 api_key: str | None = None,
102 azure_ad_token_provider: AzureADTokenProvider | None = None,
103 webhook_key: str | None = None,
104 timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
105 max_retries: int = DEFAULT_MAX_RETRIES,
106 default_headers: Mapping[str, str] | None = None,
107 default_query: Mapping[str, object] | None = None,
108 http_client: httpx.Client | None = None,
109 middleware: Sequence[MiddlewareInput] | None = None,
110 _strict_response_validation: bool = False,
111 ) -> None: ...
112
113 @overload
114 def __init__(

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 2

AnthropicErrorClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected