MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Method__call__
(self)
tests/lib/test_credentials.py:4197
Method__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4613
Method__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4666
Method__call__
(self, **kwargs: object)
tests/lib/test_bedrock_mantle.py:67
Method__call__
( self, replies: list[Reply | EventByEvent], *, stream: bool = True, r
tests/lib/tools/test_runner_eager_tools.py:1099
Method__call__
(self, context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:210
Method__call__
(self)
tests/lib/tools/memory_sync/conftest.py:22
Method__contains__
(self, value: object, /)
src/anthropic/_types.py:375
Method__decode__
(self)
src/anthropic/_decoders/jsonl.py:111
Method__decode__
(self)
tests/decoders/test_jsonl.py:111
Method__del__
(self)
src/anthropic/_base_client.py:1157
Method__del__
(self)
src/anthropic/_base_client.py:1955
Method__del__
(self)
src/anthropic/_tracing.py:569
Method__del__
(self)
src/anthropic/_tracing.py:610
Method__dir__
(self)
src/anthropic/_utils/_proxy.py:40
Method__enter__
(self)
src/anthropic/_response.py:666
Method__enter__
(self: _T)
src/anthropic/_base_client.py:1249
Method__enter__
(self)
src/anthropic/lib/credentials/_workload.py:234
Method__enter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:83
Method__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:86
Method__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:198
Method__enter__
(self)
src/anthropic/lib/streaming/_messages.py:81
Method__enter__
(self)
src/anthropic/lib/streaming/_messages.py:188
Method__enter__
(self)
src/anthropic/lib/threads/_stream_managers.py:40
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_response.py:670
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:1252
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:137
Method__exit__
( self, exc_type: Optional[Type[BaseException]], exc: Optional[BaseException],
src/anthropic/lib/credentials/_workload.py:237
Method__exit__
(self, *exc_info: object)
src/anthropic/lib/middleware/_fallbacks.py:88
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:89
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:203
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:84
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:193
Method__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/threads/_stream_managers.py:47
Method__fspath__
(self)
tests/test_prepare.py:167
Method__fspath__
(self)
tests/test_prepare.py:211
Method__get__
(self, instance: None, owner: type[Any] | None = None)
src/anthropic/_compat.py:212
Method__get_pydantic_core_schema__
(cls, source_type: Any, handler: GetCoreSchemaHandler)
src/anthropic/_types.py:287
Method__get_pydantic_core_schema__
( cls, source_type: Any, handler: GetCoreSchemaHandler, )
src/anthropic/_models.py:513
Method__get_pydantic_core_schema__
(cls, source: Any, handler: Any)
tests/test_models.py:1172
Method__get_validators__
(cls)
tests/test_models.py:1262
Method__getattr__
(self, attr: str)
src/anthropic/types/beta/beta_managed_agents_custom_tool_input_schema.py:28
Method__getattr__
(self, attr: str)
src/anthropic/types/beta/beta_response_tool_input_schema.py:31
Method__getattr__
(self, attr: str)
src/anthropic/_utils/_proxy.py:19
Method__getattr__
(self, attr: str)
tests/test_models.py:1065
Method__getitem__
(self, index: SupportsIndex, /)
src/anthropic/_types.py:372
Method__getitem__
(self, index: Any)
tests/test_prepare.py:202
Method__init__
(self)
src/anthropic/_response.py:616
Method__init__
(self)
src/anthropic/_response.py:643
Method__init__
(self, request_func: Callable[[], _APIResponseT])
src/anthropic/_response.py:662
Method__init__
(self, api_request: Awaitable[_AsyncAPIResponseT])
src/anthropic/_response.py:686
Method__init__
( self, *, options: FinalRequestOptions, cast_to: Any, stream: bool =
src/anthropic/_request.py:21
Method__init__
(self, field_name: str)
src/anthropic/_models.py:806
Method__init__
( self, *, mapping: dict[str, type], discriminator_field: str, discrim
src/anthropic/_models.py:859
Method__init__
(self, response: httpx2.Response, body: object | None, *, message: str | None = None)
src/anthropic/_exceptions.py:75
Method__init__
(self, message: str, *, response: httpx2.Response, body: object | None)
src/anthropic/_exceptions.py:125
Method__init__
(self, *, message: str = "Connection error.", request: httpx2.Request)
src/anthropic/_exceptions.py:143
Method__init__
( self, request: httpx2.Request, *, message: str = "Request timed out or inter
src/anthropic/_exceptions.py:148
Method__init__
(self, message: str, *, path: pathlib.Path | None = None)
src/anthropic/_exceptions.py:179
Method__init__
( self, client: AsyncAPIClient, options: FinalRequestOptions, page_cls: Type[A
src/anthropic/_base_client.py:335
Method__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:438
Method__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:1091
Method__init__
( self, *, version: str, base_url: str | URL, max_retries: int = DEFAU
src/anthropic/_base_client.py:1173
Method__init__
(self, **kwargs: Any)
src/anthropic/_base_client.py:1867
Method__init__
(self, **_kwargs: Any)
src/anthropic/_base_client.py:1925
Method__init__
( self, *, version: str, base_url: str | URL, _strict_response_validat
src/anthropic/_base_client.py:1972
Method__init__
(self, name: str)
src/anthropic/_base_client.py:2736
Method__init__
(self, name: str)
src/anthropic/_base_client.py:2813
Method__init__
(self, func: Callable[[Any], _T])
src/anthropic/_compat.py:209
Method__init__
(self, client: SyncAPIClient)
src/anthropic/_resource.py:13
Method__init__
(self, client: AsyncAPIClient)
src/anthropic/_resource.py:29
Method__init__
Construct a new async AsyncAnthropic client instance. Credentials are resolved in the following order (first match wins): 1. An expl
src/anthropic/_client.py:552
Method__init__
(self, client: Anthropic)
src/anthropic/_client.py:940
Method__init__
(self, client: AsyncAnthropic)
src/anthropic/_client.py:992
Method__init__
(self, client: Anthropic)
src/anthropic/_client.py:1044
Method__init__
(self, client: AsyncAnthropic)
src/anthropic/_client.py:1096
Method__init__
(self, span: Span)
src/anthropic/_tracing.py:492
Method__init__
(self, body: httpx2.SyncByteStream, observer: StreamObserver)
src/anthropic/_tracing.py:546
Method__init__
(self, body: httpx2.AsyncByteStream, observer: StreamObserver)
src/anthropic/_tracing.py:580
Method__init__
( self, body: httpx2.SyncByteStream, async_body: httpx2.AsyncByteStream, observer: StreamObserver
src/anthropic/_tracing.py:621
Method__init__
( self, *, array_format: ArrayFormat = "repeat", nested_format: NestedFormat =
src/anthropic/_qs.py:24
Method__init__
( self, qs: Querystring = _qs, *, array_format: ArrayFormat | NotGiven = not_g
src/anthropic/_qs.py:143
Method__init__
( self, *, cast_to: type[_T], response: httpx2.Response, client: Anthr
src/anthropic/_streaming.py:35
Method__init__
( self, *, cast_to: type[_T], response: httpx2.Response, client: Async
src/anthropic/_streaming.py:163
Method__init__
( self, *, event: str | None = None, data: str | None = None, id: str
src/anthropic/_streaming.py:286
Method__init__
(self)
src/anthropic/_streaming.py:344
Method__init__
(self, files: Files)
src/anthropic/resources/files.py:758
Method__init__
(self, files: AsyncFiles)
src/anthropic/resources/files.py:780
Method__init__
(self, files: Files)
src/anthropic/resources/files.py:802
Method__init__
(self, files: AsyncFiles)
src/anthropic/resources/files.py:824
Method__init__
(self, models: Models)
src/anthropic/resources/models.py:340
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/models.py:352
Method__init__
(self, models: Models)
src/anthropic/resources/models.py:364
Method__init__
(self, models: AsyncModels)
src/anthropic/resources/models.py:376
Method__init__
(self, action_urls: ActionURLs)
src/anthropic/resources/user_profiles/action_urls.py:181
Method__init__
(self, action_urls: AsyncActionURLs)
src/anthropic/resources/user_profiles/action_urls.py:190
Method__init__
(self, action_urls: ActionURLs)
src/anthropic/resources/user_profiles/action_urls.py:199
Method__init__
(self, action_urls: AsyncActionURLs)
src/anthropic/resources/user_profiles/action_urls.py:208
Method__init__
(self, user_profiles: UserProfiles)
src/anthropic/resources/user_profiles/user_profiles.py:809
Method__init__
(self, user_profiles: AsyncUserProfiles)
src/anthropic/resources/user_profiles/user_profiles.py:834
← previousnext →2,101–2,200 of 14,068, ranked by callers