MCPcopy Create free account

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

Functions9,455 in github.com/anthropics/anthropic-sdk-python

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:883
Function_causes
Flatten an exception and any ExceptionGroup members it wraps.
tests/lib/tools/memory_sync/test_e2e_memory.py:33
Function_close
()
tests/lib/tools/test_session_runner.py:1307
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:816
Method_download
(self, version: str, *, skill_id: str)
tests/lib/tools/test_skills.py:397
Function_empty_headers
()
src/anthropic/lib/credentials/_types.py:10
Function_empty_skill_dirs
()
src/anthropic/lib/tools/agent_toolset.py:187
Function_exc_func
(*_: Any, **__: Any)
src/anthropic/_models.py:947
Function_fail
()
tests/lib/test_google_cloud.py:391
Function_fake_refresh
(creds: _FakeCredentials)
tests/lib/test_google_cloud.py:333
Method_flush_store
(self, store: _AttachedStore)
src/anthropic/lib/tools/_memories.py:466
Method_gen
()
tests/lib/tools/test_session_runner.py:221
Method_get_page_items
(self)
src/anthropic/pagination.py:27
Method_get_page_items
(self)
src/anthropic/pagination.py:64
Method_get_page_items
(self)
src/anthropic/pagination.py:100
Method_get_page_items
(self)
src/anthropic/pagination.py:129
Method_get_page_items
(self)
src/anthropic/pagination.py:157
Method_get_page_items
(self)
src/anthropic/pagination.py:181
Method_get_page_items
(self)
src/anthropic/pagination.py:206
Method_get_page_items
(self)
src/anthropic/pagination.py:231
Method_handle_request
( self, params: ParseMessageCreateParamsBase[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:669
Method_handle_request
( self, params: ParseMessageCreateParamsBase[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:744
Method_handle_request
( self, params: ParseMessageCreateParamsBase[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1047
Method_handle_request
( self, params: ParseMessageCreateParamsBase[ResponseFormatT] )
src/anthropic/lib/tools/_beta_runner.py:1122
Method_heartbeat
( work_id: str = work_item.id, environment_id: str = work_item.environ
src/anthropic/lib/environments/_worker.py:705
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:954
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:254
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1398
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1493
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
Function_json_default
(value: Any)
src/anthropic/lib/credentials/_secrets.py:89
Function_lazy
(**kwargs: Any)
src/anthropic/lib/tools/_beta_functions.py:585
Function_leave_tools_alone
(runner: Any)
tests/lib/tools/test_runners.py:1697
Method_load_config
(self)
src/anthropic/lib/credentials/_providers.py:872
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_client.py:53
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_middleware.py:50
Function_make_dir_and_ancestors
(path: Path)
src/anthropic/lib/tools/_file_store.py:297
Function_make_dirs_below_root
(root: Path, directory: Path)
src/anthropic/lib/tools/_file_store.py:308
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:208
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:386
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx2.Response,
src/anthropic/lib/bedrock/_mantle.py:58
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx2.Response,
src/anthropic/lib/bedrock/_client.py:96
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx2.Response,
src/anthropic/lib/vertex/_client.py:53
Function_md_match
(match: Match[str])
scripts/utils/ruffen-docs.py:48
Function_md_pycon_match
(match: Match[str])
scripts/utils/ruffen-docs.py:100
Method_mkstemp_enospc
(*_args: Any, **_kwargs: Any)
tests/lib/test_credentials.py:4750
Function_mtime_or_zero
(p: Path)
src/anthropic/lib/tools/agent_toolset.py:786
Function_no_retry_delay
(*_args: Any, **_kwargs: Any)
tests/test_prepare.py:129
Function_no_sleep
(monkeypatch: pytest.MonkeyPatch)
tests/lib/environments/test_poller_method.py:115
Function_no_tools
(_env: Any)
tests/lib/environments/test_worker.py:459
Function_not_a_bool
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:45
Method_on_lease_ttl
(ttl: float)
src/anthropic/lib/environments/_worker.py:701
Method_parsed_docstring
(self)
src/anthropic/lib/tools/_beta_functions.py:212
Method_parser
(resp: AsyncPageT)
src/anthropic/_base_client.py:336
Method_parser
(resp: SyncPageT)
src/anthropic/_base_client.py:1439
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/_client.py:835
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:212
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:390
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/vertex/_client.py:155
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/vertex/_client.py:319
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/google_cloud/_client.py:331
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/google_cloud/_client.py:564
Method_prepare_options
(self, options: FinalRequestOptions)
tests/test_client.py:1926
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/bedrock/_client.py:216
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/bedrock/_client.py:394
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/aws/_client.py:149
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/vertex/_client.py:159
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/vertex/_client.py:323
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/google_cloud/_client.py:344
Method_prepare_request
(self, request: httpx2.Request)
src/anthropic/lib/google_cloud/_client.py:577
Function_quote_fragment_part
Percent-encode `value` for use in a URI fragment. Considers characters not in `fragment` set from RFC 3986 §3.5 to be unsafe. https://datatra
src/anthropic/_utils/_path.py:38
Function_quote_path_segment_part
Percent-encode `value` for use in a URI path segment. Considers characters not in `pchar` set from RFC 3986 §3.3 to be unsafe. https://datatr
src/anthropic/_utils/_path.py:17
Function_quote_query_part
Percent-encode `value` for use in a URI query string. Considers &, = and characters not in `query` set from RFC 3986 §3.4 to be unsafe. https
src/anthropic/_utils/_path.py:29
Function_raise_unless_vanished
(error: OSError)
src/anthropic/lib/tools/_file_store.py:359
Function_read_env_token
()
src/anthropic/lib/credentials/_chain.py:49
Method_record
(self, request: httpx2.Request)
tests/test_prepare.py:68
Method_record
(**kwargs: object)
tests/lib/test_google_cloud.py:207
Function_replace_via_temp
(dest: Path, data: bytes, is_executable: bool)
src/anthropic/lib/tools/_file_store.py:318
Method_reset_shadow_one_shot
(self)
tests/lib/test_credentials.py:4093
Function_resolved
(_path: str)
tests/lib/tools/toolsets/test_security.py:212
Function_retrieve
(session_id: str)
tests/lib/tools/memory_sync/_fake_anthropic.py:232
Function_run_session_tools
(*_a: Any, **_kw: Any)
tests/lib/tools/memory_sync/test_e2e_memory.py:102
Function_scoped
(_client: Any, *, auth_token: str, helper: str)
tests/lib/tools/memory_sync/test_e2e_memory.py:80
Method_serialize
Always serialize as a list so Pydantic's JSON encoder is happy.
src/anthropic/_models.py:492
Method_set_private_attributes
( self, model: Type[_T], client: AsyncAPIClient, options: FinalRequestOptions,
src/anthropic/_base_client.py:361
Method_should_retry
(self, response: httpx2.Response)
src/anthropic/_client.py:865
← previousnext →2,101–2,200 of 9,455, ranked by callers