MCPcopy Create free account

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

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

Function__repr_name__
(self: pydantic.BaseModel)
tests/lib/utils.py:29
Method__reversed__
(self)
src/anthropic/_types.py:378
Method__set__
(self, instance: object, value: _T)
src/anthropic/_compat.py:223
Method__set_name__
(self, owner: type[Any], name: str)
src/anthropic/_compat.py:220
Method__str__
(self)
src/anthropic/_models.py:288
Method__str__
(self)
src/anthropic/_base_client.py:2615
Method__str__
(self)
src/anthropic/_base_client.py:2692
Method__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method__str__
(self)
src/anthropic/lib/credentials/_workload.py:128
Method__str__
(self)
tests/test_prepare.py:160
Method__str__
(self)
tests/lib/tools/toolsets/test_computer_pipeline.py:279
Method__str__
(self)
tests/lib/tools/toolsets/test_enforcement.py:396
Method__str__
(self)
tests/lib/tools/toolsets/test_enforcement.py:401
Method__stream__
(self)
src/anthropic/_streaming.py:211
Method__stream__
(self)
tests/test_streaming.py:302
Function_ack
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:244
Function_aclose
()
tests/lib/tools/test_session_runner.py:1351
Method_adapter
(self)
src/anthropic/lib/tools/_beta_functions.py:268
Function_aiter_work
(*_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:96
Function_allow
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:37
Function_allow
(context: object)
tests/lib/tools/toolsets/test_computer_interface.py:49
Method_answered_count
How many stored messages there are up to the last reply. Those after it were sent and never answered.
src/anthropic/lib/threads/_thread_state.py:375
Method_api_key_auth
(self)
src/anthropic/_client.py:374
Method_api_key_auth
(self)
src/anthropic/_client.py:782
Method_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:141
Method_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:366
Function_append_reply_and_changed_tool_response
(runner: Any, reply: Any, tool_response: Any)
tests/lib/threads/helpers.py:583
Function_append_reply_and_own_result
(runner: Any, reply: Any, _tool_response: Any)
tests/lib/threads/helpers.py:575
Function_append_reply_tool_response_and_text
(runner: Any, reply: Any, tool_response: Any)
tests/lib/threads/helpers.py:579
Function_async_navigate
Custom tool that shares a browser member's name.
tests/lib/tools/toolsets/test_runner.py:164
Function_async_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:126
Function_async_tool
An async tool.
tests/lib/tools/toolsets/test_runner.py:775
Method_base_url
(self)
src/anthropic/lib/credentials/_workload.py:198
Method_bearer_auth
(self)
src/anthropic/_client.py:381
Method_bearer_auth
(self)
src/anthropic/_client.py:789
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:472
Method_browser_state
(self, context: BetaToolsetCallContext, returned: Any = returned)
tests/lib/tools/toolsets/test_pipeline.py:542
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:958
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_pipeline.py:1107
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/_fakes.py:164
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/_fakes.py:234
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_interface.py:38
Method_browser_state
(self, context: BetaToolsetCallContext)
tests/lib/tools/toolsets/test_interface.py:44
Method_build_workload_delegate
(self, auth: Dict[str, Any])
src/anthropic/lib/credentials/_providers.py:882
Function_causes
Flatten an exception and any ExceptionGroup members it wraps.
tests/lib/tools/memory_sync/test_e2e_memory.py:33
Method_client
The thread's client. It sends the runner's requests, and its options say whether the run has spans.
src/anthropic/lib/tools/_beta_runner.py:255
Function_close
()
tests/lib/tools/test_session_runner.py:1333
Method_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_beta_messages.py:139
Method_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_beta_messages.py:311
Method_current_snapshot_or_none
(self)
src/anthropic/lib/streaming/_messages.py:299
Function_deny
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:41
Function_deny
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:40
Method_dispatch_loop
(self)
src/anthropic/lib/tools/_beta_session_runner.py:922
Method_download
(self, version: str, *, skill_id: str)
tests/lib/tools/test_skills.py:427
Function_empty_headers
()
src/anthropic/lib/credentials/_types.py:10
Function_empty_skill_dirs
()
src/anthropic/lib/tools/agent_toolset.py:191
Function_exc_func
(*_: Any, **__: Any)
src/anthropic/_models.py:1041
Function_fail
()
tests/lib/test_google_cloud.py:578
Function_fake_refresh
(creds: _FakeCredentials)
tests/lib/test_google_cloud.py:520
Method_flush_store
(self, store: _AttachedStore)
src/anthropic/lib/tools/_memories.py:466
Method_gen
()
tests/lib/tools/test_session_runner.py:234
Method_gen
(self)
tests/lib/tools/test_session_runner.py:1500
Method_gen
(self)
tests/lib/tools/test_session_runner.py:1689
Method_get_page_items
(self)
src/anthropic/pagination.py:30
Method_get_page_items
(self)
src/anthropic/pagination.py:67
Method_get_page_items
(self)
src/anthropic/pagination.py:103
Method_get_page_items
(self)
src/anthropic/pagination.py:132
Method_get_page_items
(self)
src/anthropic/pagination.py:160
Method_get_page_items
(self)
src/anthropic/pagination.py:184
Method_get_page_items
(self)
src/anthropic/pagination.py:209
Method_get_page_items
(self)
src/anthropic/pagination.py:234
Method_get_page_items
(self)
src/anthropic/pagination.py:260
Method_get_page_items
(self)
src/anthropic/pagination.py:290
Method_handle_request
( self, thread: BetaMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:952
Method_handle_request
( self, thread: BetaMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1065
Method_handle_request
( self, thread: BetaAsyncMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1497
Method_handle_request
( self, thread: BetaAsyncMessageThread[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1610
Method_heartbeat
( work_id: str = work_item.id, environment_id: str = work_item.environ
src/anthropic/lib/environments/_worker.py:738
Method_idle_watchdog
Stop the runner once `max_idle` seconds have passed since the turn ended with no new events. Event-driven: it blocks on the idle cloc
src/anthropic/lib/tools/_beta_session_runner.py:1118
Method_init_proxy_transport
( self, proxy: httpx.Proxy, verify: ssl.SSLContext | str | bool = True, cert:
src/anthropic/_vendor/httpx_aiohttp/client.py:46
Method_init_transport
( self, verify: ssl.SSLContext | str | bool = True, cert: t.Union[str, t.Tuple[str, st
src/anthropic/_vendor/httpx_aiohttp/client.py:21
Function_intercept_scoped_client
Make `_scoped_client` return the parent client unchanged so the runner's requests land on the test fakes. The real `_scoped_client` builds an
tests/lib/tools/test_session_runner.py:33
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:261
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1458
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1553
Function_isolate_environment
Ambient first-party / google-cloud env vars must not leak into these tests.
tests/lib/test_google_cloud.py:30
Method_iter
()
tests/lib/tools/memory_sync/test_memory_sync.py:668
Method_iter
()
tests/lib/tools/memory_sync/_fake_anthropic.py:107
Method_iterator
(self)
src/anthropic/_streaming.py:48
Method_iterator
(self)
src/anthropic/_streaming.py:176
Method_iterator
(self)
src/anthropic/_decoders/jsonl.py:38
Method_iterator
(self)
src/anthropic/_decoders/jsonl.py:99
Function_json_default
(value: Any)
src/anthropic/lib/credentials/_secrets.py:89
Method_last_reply
The most recent reply the history records.
src/anthropic/lib/threads/_thread_state.py:127
Function_lazy
(**kwargs: Any)
src/anthropic/lib/tools/_beta_functions.py:585
Function_leave_tools_alone
(runner: Any)
tests/lib/tools/test_runners.py:1677
Method_load_config
(self)
src/anthropic/lib/credentials/_providers.py:871
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_client.py:54
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_middleware.py:51
Function_make_dir_and_ancestors
(path: Path)
src/anthropic/lib/tools/_file_store.py:297
← previousnext →2,701–2,800 of 12,431, ranked by callers