Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
13,873 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
13,873
◇
Types & classes
4,472
↳
Endpoints
93
↓ 1 callers
Method
wrong_stops
(self)
tests/lib/environments/test_worker_properties.py:189
↓ 1 callers
Method
yielded
(self)
tests/lib/tools/_fake_sessions_api.py:165
↓ 1 callers
Function
yielding
(*copies: dict[str, Any], delay: float = 0)
tests/lib/tools/test_session_runner_properties.py:597
Method
__aenter__
(self)
src/anthropic/_response.py:683
Method
__aenter__
(self: _T)
src/anthropic/_base_client.py:1946
Method
__aenter__
(self)
src/anthropic/lib/tools/_toolsets/_runnable.py:167
Method
__aenter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:255
Method
__aenter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:369
Method
__aenter__
(self)
src/anthropic/lib/streaming/_messages.py:244
Method
__aenter__
(self)
src/anthropic/lib/streaming/_messages.py:353
Method
__aenter__
(self)
src/anthropic/lib/threads/_stream_managers.py:86
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_response.py:687
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:1949
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:264
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None
src/anthropic/lib/tools/_toolsets/_runnable.py:171
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:258
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:374
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:247
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:358
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/threads/_stream_managers.py:92
Method
__aiter__
(self)
src/anthropic/_base_client.py:364
Method
__aiter__
(self)
src/anthropic/_base_client.py:390
Method
__aiter__
(self)
src/anthropic/_tracing.py:590
Method
__aiter__
(self)
src/anthropic/_streaming.py:192
Method
__aiter__
(self)
src/anthropic/lib/tools/_beta_runner.py:1169
Method
__aiter__
(self)
src/anthropic/lib/tools/_beta_session_runner.py:353
Method
__aiter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1712
Method
__aiter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:251
Method
__aiter__
(self)
src/anthropic/lib/streaming/_messages.py:240
Method
__aiter__
(self)
src/anthropic/_vendor/httpx_aiohttp/transport.py:72
Method
__aiter__
(self)
src/anthropic/_decoders/jsonl.py:133
Method
__aiter__
(self)
tests/utils.py:200
Method
__aiter__
(self)
tests/test_open_telemetry.py:632
Method
__aiter__
(self)
tests/test_open_telemetry.py:2493
Method
__aiter__
(self)
tests/lib/environments/_fake_work_api.py:187
Method
__aiter__
(self)
tests/lib/tools/_fake_sessions_api.py:216
Method
__aiter__
(self)
tests/lib/tools/test_runner_eager_tools.py:990
Method
__anext__
(self)
src/anthropic/lib/streaming/_beta_messages.py:248
Method
__anext__
(self)
src/anthropic/lib/streaming/_messages.py:237
Method
__anext__
(self)
src/anthropic/_decoders/jsonl.py:130
Method
__await__
(self)
src/anthropic/_base_client.py:345
Method
__bool__
(self)
src/anthropic/_types.py:253
Method
__bool__
(self)
src/anthropic/_types.py:283
Method
__bool__
(self)
src/anthropic/_base_client.py:2617
Method
__bool__
(self)
tests/lib/tools/toolsets/test_pipeline.py:252
Method
__call__
(self)
src/anthropic/lib/tools/_beta_functions.py:188
Method
__call__
(self, *_args: Any, **_kwds: Any)
src/anthropic/lib/tools/_beta_functions.py:237
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_types.py:65
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_types.py:76
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:124
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:135
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_providers.py:508
Method
__call__
(self)
src/anthropic/lib/credentials/_providers.py:771
Method
__call__
(self, *, force_refresh: bool = False)
src/anthropic/lib/credentials/_workload.py:245
Method
__call__
The JSON that `body` is sent as, or `None` when the request went out without content.
tests/test_prepare.py:72
Method
__call__
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:299
Method
__call__
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:310
Method
__call__
(self, request: httpx2.Request)
tests/test_tracing.py:110
Method
__call__
(self, *_args: Any, **_kwds: Any)
tests/test_utils/test_proxy.py:13
Method
__call__
(self)
tests/lib/test_credentials.py:1590
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1599
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1679
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1739
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1756
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:1772
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3808
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3882
Method
__call__
(self, token: str, *, force_refresh: bool = False)
tests/lib/test_credentials.py:3928
Method
__call__
(self)
tests/lib/test_credentials.py:4041
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4457
Method
__call__
(self, *, force_refresh: bool = False)
tests/lib/test_credentials.py:4510
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:1098
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:108
Method
__del__
(self)
src/anthropic/_base_client.py:1073
Method
__del__
(self)
src/anthropic/_base_client.py:1856
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:659
Method
__enter__
(self: _T)
src/anthropic/_base_client.py:1165
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:83
Method
__enter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:195
Method
__enter__
(self)
src/anthropic/lib/streaming/_messages.py:79
Method
__enter__
(self)
src/anthropic/lib/streaming/_messages.py:186
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:663
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_base_client.py:1168
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/_streaming.py:135
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:86
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_beta_messages.py:200
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
src/anthropic/lib/streaming/_messages.py:82
← previous
next →
2,001–2,100 of 13,873, ranked by callers