MCPcopy Create free account

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

Functions1,183 in github.com/anthropics/anthropic-sdk-python

Method__aenter__
(self)
src/anthropic/lib/streaming/_messages.py:193
Method__aenter__
(self)
src/anthropic/lib/streaming/_messages.py:285
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_response.py:677
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:1470
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:241
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:196
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:290
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:196
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:290
Method__aiter__
(self)
src/anthropic/_base_client.py:277
Method__aiter__
(self)
src/anthropic/_base_client.py:300
Method__aiter__
(self)
src/anthropic/_streaming.py:184
Method__aiter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:189
Method__aiter__
(self)
src/anthropic/lib/streaming/_messages.py:189
Method__aiter__
(self)
src/anthropic/_decoders/jsonl.py:99
Method__anext__
(self)
src/anthropic/lib/streaming/_beta_messages.py:186
Method__anext__
(self)
src/anthropic/lib/streaming/_messages.py:186
Method__anext__
(self)
src/anthropic/_decoders/jsonl.py:96
Method__as_proxied__
Helper method that returns the current proxy, typed as the loaded object
src/anthropic/_utils/_proxy.py:57
Method__await__
(self)
src/anthropic/_base_client.py:261
Method__bool__
(self)
src/anthropic/_types.py:124
Method__bool__
(self)
src/anthropic/_types.py:153
Method__bool__
(self)
src/anthropic/_base_client.py:1938
Method__call__
(self, *_args: Any, **_kwds: Any)
tests/test_utils/test_proxy.py:13
Method__del__
(self)
src/anthropic/_base_client.py:770
Method__del__
(self)
src/anthropic/_base_client.py:1355
Method__dir__
(self)
src/anthropic/_utils/_proxy.py:40
Method__enter__
(self)
src/anthropic/_response.py:649
Method__enter__
(self: _T)
src/anthropic/_base_client.py:884
Method__enter__
(self)
src/anthropic/_streaming.py:120
Method__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:56
Method__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:146
Method__enter__
(self)
src/anthropic/lib/streaming/_messages.py:56
Method__enter__
(self)
src/anthropic/lib/streaming/_messages.py:146
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_response.py:653
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:887
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:123
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:59
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:151
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:59
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:151
Method__get__
(self, instance: None, owner: type[Any] | None = None)
src/anthropic/_compat.py:204
Method__getattr__
(self, attr: str)
src/anthropic/_utils/_proxy.py:19
Method__init__
(self)
src/anthropic/_response.py:599
Method__init__
(self)
src/anthropic/_response.py:626
Method__init__
(self, request_func: Callable[[], _APIResponseT])
src/anthropic/_response.py:645
Method__init__
(self, api_request: Awaitable[_AsyncAPIResponseT])
src/anthropic/_response.py:669
Method__init__
(self)
src/anthropic/_legacy_response.py:369
Method__init__
(self, response: httpx.Response)
src/anthropic/_legacy_response.py:412
Method__init__
( self, *, mapping: dict[str, type], discriminator_field: str, discrim
src/anthropic/_models.py:586
Method__init__
(self, response: httpx.Response, body: object | None, *, message: str | None = None)
src/anthropic/_exceptions.py:51
Method__init__
(self, message: str, *, response: httpx.Response, body: object | None)
src/anthropic/_exceptions.py:64
Method__init__
(self, *, message: str = "Connection error.", request: httpx.Request)
src/anthropic/_exceptions.py:72
Method__init__
(self, request: httpx.Request)
src/anthropic/_exceptions.py:77
Method__init__
( self, client: AsyncAPIClient, options: FinalRequestOptions, page_cls: Type[A
src/anthropic/_base_client.py:249
Method__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:342
Method__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:750
Method__init__
( self, *, version: str, base_url: str | URL, max_retries: int = DEFAU
src/anthropic/_base_client.py:784
Method__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:1335
Method__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:1370
Method__init__
(self, name: str)
src/anthropic/_base_client.py:1943
Method__init__
(self, name: str)
src/anthropic/_base_client.py:2021
Method__init__
(self, func: Callable[[Any], _T])
src/anthropic/_compat.py:201
Method__init__
(self, client: SyncAPIClient)
src/anthropic/_resource.py:15
Method__init__
(self, client: AsyncAPIClient)
src/anthropic/_resource.py:31
Method__init__
Construct a new async anthropic client instance. This automatically infers the following arguments from their corresponding environment varia
src/anthropic/_client.py:287
Method__init__
(self, client: Anthropic)
src/anthropic/_client.py:492
Method__init__
(self, client: AsyncAnthropic)
src/anthropic/_client.py:500
Method__init__
(self, client: Anthropic)
src/anthropic/_client.py:508
Method__init__
(self, client: AsyncAnthropic)
src/anthropic/_client.py:516
Method__init__
( self, *, array_format: ArrayFormat = "repeat", nested_format: NestedFormat =
src/anthropic/_qs.py:27
Method__init__
( self, qs: Querystring = _qs, *, array_format: NotGivenOr[ArrayFormat] = NOT_
src/anthropic/_qs.py:142
Method__init__
( self, *, cast_to: type[_T], response: httpx.Response, client: Anthro
src/anthropic/_streaming.py:51
Method__init__
( self, *, cast_to: type[_T], response: httpx.Response, client: AsyncA
src/anthropic/_streaming.py:168
Method__init__
( self, *, event: str | None = None, data: str | None = None, id: str
src/anthropic/_streaming.py:259
Method__init__
(self)
src/anthropic/_streaming.py:305
Method__init__
(self, completions: Completions)
src/anthropic/resources/completions.py:791
Method__init__
(self, completions: AsyncCompletions)
src/anthropic/resources/completions.py:800
Method__init__
(self, completions: Completions)
src/anthropic/resources/completions.py:809
Method__init__
(self, completions: AsyncCompletions)
src/anthropic/resources/completions.py:818
Method__init__
(self, models: Models)
src/anthropic/resources/models.py:256
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/models.py:268
Method__init__
(self, models: Models)
src/anthropic/resources/models.py:280
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/models.py:292
Method__init__
(self, beta: Beta)
src/anthropic/resources/beta/beta.py:86
Method__init__
(self, beta: AsyncBeta)
src/anthropic/resources/beta/beta.py:99
Method__init__
(self, beta: Beta)
src/anthropic/resources/beta/beta.py:112
Method__init__
(self, beta: AsyncBeta)
src/anthropic/resources/beta/beta.py:125
Method__init__
(self, models: Models)
src/anthropic/resources/beta/models.py:256
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/beta/models.py:268
Method__init__
(self, models: Models)
src/anthropic/resources/beta/models.py:280
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/beta/models.py:292
Method__init__
(self, batches: Batches)
src/anthropic/resources/beta/messages/batches.py:773
Method__init__
(self, batches: AsyncBatches)
src/anthropic/resources/beta/messages/batches.py:794
Method__init__
(self, batches: Batches)
src/anthropic/resources/beta/messages/batches.py:815
Method__init__
(self, batches: AsyncBatches)
src/anthropic/resources/beta/messages/batches.py:836
Method__init__
(self, messages: Messages)
src/anthropic/resources/beta/messages/messages.py:2404
Method__init__
(self, messages: AsyncMessages)
src/anthropic/resources/beta/messages/messages.py:2420
Method__init__
(self, messages: Messages)
src/anthropic/resources/beta/messages/messages.py:2436
Method__init__
(self, messages: AsyncMessages)
src/anthropic/resources/beta/messages/messages.py:2452
← previousnext →301–400 of 1,183, ranked by callers