MCPcopy Create free account

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

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

Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:144
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:168
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:188
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:207
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:245
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:262
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:281
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:319
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:343
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/test_middleware.py:2083
Methodhandle
(self, request: APIRequest, call_next: CallNext)
tests/lib/test_client_copy.py:174
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/_middleware.py:57
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
src/anthropic/lib/middleware/_fallbacks.py:272
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:107
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:130
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:151
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:175
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:193
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:218
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:251
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:268
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:287
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:327
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/test_middleware.py:353
Methodhandle_async
(self, request: APIRequest, call_next: AsyncCallNext)
tests/lib/test_client_copy.py:178
Methodhandle_async_request
( self, request: httpx.Request, )
src/anthropic/_vendor/httpx_aiohttp/transport.py:150
Methodhandle_async_request
( self, request: httpx2.Request, )
tests/test_client.py:82
Methodhandle_request
( self, request: httpx2.Request, )
tests/test_client.py:73
Functionhandler
(req: httpx2.Request)
tests/lib/test_scoped_client.py:128
Functionhandler
(_signum: int, _frame: object)
tests/lib/tools/test_agent_toolset.py:829
Methodhandler
(req: APIRequest)
tests/test_middleware.py:503
Methodhandler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:81
Methodhandler
(request: httpx2.Request)
tests/test_header_case_sensitivity.py:271
Methodhandler
(request: httpx2.Request)
tests/lib/test_credentials.py:2831
Functionhang
(_request: httpx2.Request)
tests/lib/tools/test_skills.py:538
Functionhanging_finish
(_self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:380
Functionhanging_flush
(_self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:342
Methodhas_next_page
(self)
src/anthropic/pagination.py:74
Methodhas_next_page
(self)
src/anthropic/pagination.py:110
Methodhas_next_page
(self)
src/anthropic/pagination.py:139
Methodhas_next_page
(self)
src/anthropic/pagination.py:167
Methodhas_next_page
(self)
src/anthropic/pagination.py:191
Methodhas_next_page
(self)
src/anthropic/pagination.py:216
Methodhas_next_page
(self)
src/anthropic/pagination.py:241
Methodhas_next_page
(self)
src/anthropic/pagination.py:267
Methodhas_next_page
(self)
src/anthropic/pagination.py:297
Methodhas_staged_messages
(self)
src/anthropic/lib/threads/_thread_state.py:245
Methodhash_all
()
src/anthropic/lib/tools/_file_store.py:192
Methodheaders
(self)
src/anthropic/_response.py:84
Methodheaders
(self)
src/anthropic/_request.py:49
Functionheartbeat
(work_id: str, env_id: str, stop: anyio.Event)
examples/managed-agents-observe-tool-calls.py:145
Methodheartbeat
Note: these endpoints are called automatically by the pre-built environment worker provided in the SDKs and CLI, for orchestrating se
src/anthropic/resources/beta/environments/work.py:992
Methodheartbeat
( self, work_id: str, *, environment_id: str, expected_last_heartbeat:
tests/lib/environments/test_worker.py:105
Methodheartbeat
( self, work_id: str, # noqa: ARG002 *, environment_id: str,
tests/lib/environments/test_worker.py:1022
Methodheartbeat
(self, work_id: str, **_kwargs: Any)
tests/lib/environments/test_worker.py:1110
Methodheartbeat
(self, *_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:60
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:209
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_computer.py:327
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:387
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
src/anthropic/lib/tools/_toolsets/_browser.py:637
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:192
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaBrowserHoldKeyInput)
tests/lib/tools/toolsets/_fakes.py:266
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:121
Methodhold_key
(self, context: BetaToolsetCallContext, input: BetaComputerHoldKeyInput)
tests/lib/tools/toolsets/_computer_fakes.py:176
Functionhook
(_path: str)
tests/lib/tools/memory_sync/test_final_flush.py:105
Functionhook
(path: str)
tests/lib/tools/memory_sync/test_e2e_memory.py:425
Methodhover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:360
Methodhover
(self, context: BetaToolsetCallContext, input: BetaBrowserHoverInput)
src/anthropic/lib/tools/_toolsets/_browser.py:606
Methodhttp_request
Returns the httpx Request instance associated with the current response.
src/anthropic/_response.py:88
Functionhttp_snapshot_serializer_options
()
tests/conftest.py:89
Methodhttp_version
(self)
src/anthropic/_response.py:106
Methodid
(self)
src/anthropic/_streaming.py:307
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:52
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:345
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:654
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:680
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:706
Methodincrease_requests
(self)
src/anthropic/resources/beta/organization/spend_limits/spend_limits.py:732
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:31
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:60
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:92
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:105
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:118
Methodincrease_requests
(self)
src/anthropic/resources/organization/spend_limits/spend_limits.py:131
Functionincrement
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:432
Methodinject
(self, carrier: Any, context: Context | None = None, setter: Any = None)
tests/test_open_telemetry.py:4099
Methodinject
(self, carrier: Any, context: Any = None, setter: Any = None)
tests/test_tracing.py:89
Functioninner
(func: CallableT)
src/anthropic/_utils/_utils.py:248
Methodinsert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:555
Methodinsert
(self, command: BetaMemoryTool20250818InsertCommand)
src/anthropic/lib/tools/_beta_builtin_memory_tool.py:854
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:70
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:630
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1209
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1242
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1275
Methodinstallation_settings
(self)
src/anthropic/resources/beta/organization/plugins/plugins.py:1308
Methodinstrumentation_scope
The scope of the client's tracer: the SDK's name, and for a platform client the platform after it.
src/anthropic/lib/_tracing/_config.py:29
Functioninstrumented
(*args: Any, **kwargs: Any)
tests/lib/tools/test_open_telemetry.py:215
Functioninterrupted
(_request: httpx2.Request)
tests/lib/environments/test_poller_method.py:748
Functioninterrupted
(memory_store_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/conftest.py:52
← previousnext →3,701–3,800 of 12,274, ranked by callers