MCPcopy Create free account

hub / github.com/anthropics/anthropic-sdk-python / functions

Functions12,434 in github.com/anthropics/anthropic-sdk-python

Method__init__
(self, what: str, *, twin: str)
src/anthropic/lib/tools/_toolsets/_base.py:160
Method__init__
(self, what: str, *, twin: str)
src/anthropic/lib/tools/_toolsets/_base.py:165
Method__init__
( self, cls: type[BaseToolset[Any, Any, Any]], *, registry: Registry[_NameT, _
src/anthropic/lib/tools/_toolsets/_base.py:183
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:234
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:251
Method__init__
(self, options: BaseToolsetOptions[_NameT, _InputT, _ConfirmT])
src/anthropic/lib/tools/_toolsets/_base.py:344
Method__init__
(self, *, context: BetaToolsetCallContext, name: str, raw_input: Mapping[str, object])
src/anthropic/lib/tools/_toolsets/_pipeline.py:50
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_pipeline.py:154
Method__init__
(self, exc: Exception)
src/anthropic/lib/tools/_toolsets/_browser.py:102
Method__init__
( self, *, configs: BetaBrowserToolsetConfigsParam | None, confirm: BetaConfir
src/anthropic/lib/tools/_toolsets/_browser.py:161
Method__init__
A browser toolset with the given options. A mistake in them raises `ToolsetConfigError` here. Args: configs: The `configs` object
src/anthropic/lib/tools/_toolsets/_browser.py:214
Method__init__
An asynchronous browser toolset with the given options. `confirm` and `url_policy` may be plain or `async` callables here. A mistake in the op
src/anthropic/lib/tools/_toolsets/_browser.py:454
Method__init__
(self, action: Literal["add", "replace", "remove"], toolset_name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:63
Method__init__
(self, name: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:84
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:91
Method__init__
(self, name: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:100
Method__init__
(self, name: str, problem: str, *, family: ToolsetFamily)
src/anthropic/lib/tools/_toolsets/_errors.py:108
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:124
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:133
Method__init__
(self, name: str)
src/anthropic/lib/tools/_toolsets/_errors.py:142
Method__init__
(self, reason: str)
src/anthropic/lib/tools/_toolsets/_errors.py:153
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:160
Method__init__
(self)
src/anthropic/lib/tools/_toolsets/_errors.py:167
Method__init__
( self, *, upload_roots: Sequence[str | os.PathLike[str]] = (), upload_documen
src/anthropic/lib/tools/_toolsets/_security.py:176
Method__init__
(self, beta: Beta)
src/anthropic/lib/bedrock/_beta.py:68
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:77
Method__init__
(self, beta: Beta)
src/anthropic/lib/bedrock/_beta.py:86
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/bedrock/_beta.py:95
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:71
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:83
Method__init__
(self, messages: Messages)
src/anthropic/lib/bedrock/_beta_messages.py:95
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/bedrock/_beta_messages.py:104
Method__init__
( self, *, cast_to: type[_T], response: httpx2.Response, client: Async
src/anthropic/lib/bedrock/_stream.py:28
Method__init__
( self, *, aws_access_key: str | None = None, aws_secret_key: str | None = Non
src/anthropic/lib/bedrock/_mantle.py:347
Method__init__
( self, aws_secret_key: str | None = None, aws_access_key: str | None = None,
src/anthropic/lib/bedrock/_client.py:293
Method__init__
(self)
src/anthropic/lib/bedrock/_stream_decoder.py:26
Method__init__
( self, *, owned_event: Optional[_EventT], force: bool, advisory_fallb
src/anthropic/lib/credentials/_cache.py:57
Method__init__
( self, provider: AccessTokenProvider | AsyncAccessTokenProvider, *, advisory_
src/anthropic/lib/credentials/_cache.py:115
Method__init__
(self, token_cache: TokenCache)
src/anthropic/lib/credentials/_auth.py:69
Method__init__
(self, token: str)
src/anthropic/lib/credentials/_providers.py:121
Method__init__
(self, env_var: str = ENV_AUTH_TOKEN)
src/anthropic/lib/credentials/_providers.py:132
Method__init__
( self, profile: Optional[str] = None, *, http_client: Optional[httpx2.Client]
src/anthropic/lib/credentials/_providers.py:188
Method__init__
(self, path: Union[str, "os.PathLike[str]", None] = None)
src/anthropic/lib/credentials/_providers.py:753
Method__init__
( self, config: Dict[str, Any], *, identity_token_provider: Optional[IdentityT
src/anthropic/lib/credentials/_providers.py:825
Method__init__
(self, type_name: str)
src/anthropic/lib/credentials/_secrets.py:25
Method__init__
( self, message: str, *, status_code: Optional[int] = None, body: Any
src/anthropic/lib/credentials/_workload.py:114
Method__init__
( self, *, identity_token_provider: IdentityTokenProvider, federation_rule_id:
src/anthropic/lib/credentials/_workload.py:159
Method__init__
(self)
src/anthropic/lib/middleware/_fallbacks.py:80
Method__init__
Args: fallbacks: The fallback chain, tried in order. An empty chain disables the middleware. betas:
src/anthropic/lib/middleware/_fallbacks.py:178
Method__init__
( self, *, index_base: int, has_next: bool, splice: _SpliceInfo | None
src/anthropic/lib/middleware/_fallbacks.py:830
Method__init__
(self, body: dict[str, Any])
src/anthropic/lib/middleware/_fallbacks.py:1091
Method__init__
(self, index_base: int = 0)
src/anthropic/lib/middleware/_fallbacks.py:1275
Method__init__
(self, frames: Generator[bytes, None, None])
src/anthropic/lib/middleware/_fallbacks.py:1695
Method__init__
(self, frames: AsyncGenerator[bytes, None])
src/anthropic/lib/middleware/_fallbacks.py:1708
Method__init__
(self, *, library: str, extra: str)
src/anthropic/lib/_extras/_common.py:12
Method__init__
( self, raw_stream: Stream[BetaRawMessageStreamEvent], output_format: ResponseFormatT
src/anthropic/lib/streaming/_beta_messages.py:48
Method__init__
( self, api_request: Callable[[], Stream[BetaRawMessageStreamEvent]], *, outpu
src/anthropic/lib/streaming/_beta_messages.py:184
Method__init__
( self, raw_stream: AsyncStream[BetaRawMessageStreamEvent], output_format: ResponseFor
src/anthropic/lib/streaming/_beta_messages.py:220
Method__init__
( self, api_request: Awaitable[AsyncStream[BetaRawMessageStreamEvent]], *, out
src/anthropic/lib/streaming/_beta_messages.py:358
Method__init__
( self, raw_stream: Stream[RawMessageStreamEvent], output_format: ResponseFormatT | No
src/anthropic/lib/streaming/_messages.py:45
Method__init__
( self, api_request: Callable[[], Stream[RawMessageStreamEvent]], *, output_fo
src/anthropic/lib/streaming/_messages.py:174
Method__init__
( self, raw_stream: AsyncStream[RawMessageStreamEvent], output_format: ResponseFormatT
src/anthropic/lib/streaming/_messages.py:210
Method__init__
( self, api_request: Awaitable[AsyncStream[RawMessageStreamEvent]], *, output_
src/anthropic/lib/streaming/_messages.py:341
Method__init__
( self, *, api_key: str | None = None, aws_access_key: str | None = None,
src/anthropic/lib/aws/_client.py:260
Method__init__
( self, thread: BetaAsyncMessageThread[ResponseFormatT], messages: Iterable[BetaMessag
src/anthropic/lib/threads/_stream_managers.py:73
Method__init__
Start a thread on `client` with the arguments of `client.beta.messages.thread()`. Sends nothing.
src/anthropic/lib/threads/_beta_threads.py:144
Method__init__
Start a thread on `client` with the arguments of `client.beta.messages.thread()`. Sends nothing.
src/anthropic/lib/threads/_beta_threads.py:357
Method__init__
( self, *, params: ParseMessageCreateParamsBase[ResponseFormatT], options: Req
src/anthropic/lib/threads/_thread_state.py:59
Method__init__
(self, *, replaces_lost_thread: bool = False)
src/anthropic/lib/threads/_thread_state.py:477
Method__init__
( self, *, created_with: TurnOverrides, given_for_the_turn: TurnOverrides, replaces_lost_thread: bool
src/anthropic/lib/threads/_thread_state.py:487
Method__init__
(self, *, previous_message_id: str, created_with: TurnOverrides, replaces_lost_thread: bool)
src/anthropic/lib/threads/_thread_state.py:502
Method__init__
(self, param: BetaMessageParam)
src/anthropic/lib/threads/_thread_state.py:534
Method__init__
(self, message: BetaMessage, *, partial: bool = False)
src/anthropic/lib/threads/_thread_state.py:544
Method__init__
(self, started_with: list[Entry])
src/anthropic/lib/threads/_thread_state.py:557
Method__init__
(self, output_type: type[ResponseFormatT])
src/anthropic/lib/threads/_thread_state.py:566
Method__init__
( self, options: ResolvedOpenTelemetryOptions, *, provider_name: str, platform: str | None = None
src/anthropic/lib/_tracing/_config.py:15
Method__init__
( self, span: trace.Span, body: MessageCreateBody, *, span_name: str |
src/anthropic/lib/_tracing/_streaming.py:42
Method__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:68
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:77
Method__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:86
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:95
Method__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:73
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:88
Method__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:103
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:115
Method__init__
( self, *, region: str | NotGiven = not_given, project_id: str | NotGiven = no
src/anthropic/lib/vertex/_client.py:225
Method__init__
(self, credentials: GoogleCredentials | None)
src/anthropic/lib/google_cloud/_client.py:79
Method__init__
Construct a new asynchronous Claude Models on Google Cloud (Anthropic managed) client. `token_provider` may be sync or async; sync providers
src/anthropic/lib/google_cloud/_client.py:497
Method__init__
(self, aiohttp_response: ClientResponse)
src/anthropic/_vendor/httpx_aiohttp/transport.py:69
Method__init__
( self, verify: ssl.SSLContext | str | bool = True, cert: t.Union[str, t.Tuple[str, st
src/anthropic/_vendor/httpx_aiohttp/transport.py:83
Method__init__
( self, *, raw_iterator: AsyncIterator[bytes], line_type: type[_T], ht
src/anthropic/_decoders/jsonl.py:86
Method__init__
(self, client: Anthropic | AsyncAnthropic)
tests/test_prepare.py:60
Method__init__
(self)
tests/test_prepare.py:140
Method__init__
(self)
tests/utils.py:191
Method__init__
(self)
tests/test_open_telemetry.py:196
Method__init__
(self)
tests/test_open_telemetry.py:701
Method__init__
(self)
tests/test_open_telemetry.py:1921
Method__init__
(self, inner: TextMapPropagator)
tests/test_open_telemetry.py:4090
Method__init__
(self)
tests/test_open_telemetry.py:4112
Method__init__
(self, **options: Any)
tests/test_open_telemetry.py:4692
← previousnext →2,501–2,600 of 12,434, ranked by callers