MCPcopy Create free account

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

Functions4,911 in github.com/anthropics/anthropic-sdk-python

Method__init__
(self, message: str = "Thinking")
examples/memory/basic.py:45
Method__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:26
Method__instancecheck__
(self, instance: Any)
src/anthropic/_streaming.py:194
Method__iter__
(self)
src/anthropic/_types.py:270
Method__iter__
(self)
src/anthropic/_base_client.py:273
Method__iter__
(self)
src/anthropic/_streaming.py:70
Method__iter__
(self)
src/anthropic/lib/tools/_beta_runner.py:178
Method__iter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1617
Method__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:69
Method__iter__
(self)
src/anthropic/lib/streaming/_messages.py:66
Method__iter__
(self)
src/anthropic/_decoders/jsonl.py:65
Method__len__
(self)
src/anthropic/_types.py:269
Method__load__
(self)
src/anthropic/_utils/_resources_proxy.py:17
Method__load__
(self)
src/anthropic/lib/_extras/_google_auth.py:25
Method__load__
(self)
tests/test_utils/test_proxy.py:10
Method__load__
(self)
tests/test_utils/test_proxy.py:29
Method__next__
(self)
src/anthropic/_streaming.py:67
Method__next__
(self)
src/anthropic/lib/tools/_beta_runner.py:175
Method__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:66
Method__next__
(self)
src/anthropic/lib/streaming/_messages.py:63
Method__next__
(self)
src/anthropic/_decoders/jsonl.py:62
Method__repr__
(self)
src/anthropic/_response.py:124
Method__repr__
(self)
src/anthropic/_legacy_response.py:367
Method__repr__
(self)
src/anthropic/_types.py:155
Method__repr__
(self)
src/anthropic/_request.py:113
Method__repr__
(self)
src/anthropic/_base_client.py:180
Method__repr__
(self)
src/anthropic/_streaming.py:409
Method__repr__
(self)
src/anthropic/_utils/_proxy.py:26
Method__repr__
(self)
src/anthropic/_utils/_transform.py:74
Method__repr__
(self)
src/anthropic/lib/credentials/_types.py:31
Function__repr_args__
(self: pydantic.BaseModel)
tests/lib/utils.py:26
Function__repr_name__
(self: pydantic.BaseModel)
tests/lib/utils.py:29
Method__reversed__
(self)
src/anthropic/_types.py:271
Method__set__
(self, instance: object, value: _T)
src/anthropic/_compat.py:228
Method__set_name__
(self, owner: type[Any], name: str)
src/anthropic/_compat.py:225
Method__str__
(self)
src/anthropic/_models.py:213
Method__str__
(self)
src/anthropic/_base_client.py:2417
Method__str__
(self)
src/anthropic/_base_client.py:2495
Method__str__
(self)
src/anthropic/_utils/_proxy.py:33
Method__str__
(self)
src/anthropic/lib/credentials/_workload.py:130
Function_ack
(_work_id: str, **_kwargs: Any)
tests/lib/environments/test_poller_method.py:205
Function_aclose
()
tests/lib/tools/test_session_runner.py:1209
Method_adapter
(self)
src/anthropic/lib/tools/_beta_functions.py:261
Method_api_key_auth
(self)
src/anthropic/_client.py:341
Method_api_key_auth
(self)
src/anthropic/_client.py:761
Method_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:133
Method_api_key_auth
(self)
src/anthropic/lib/aws/_client.py:341
Function_async_noop
(_seconds: float)
tests/lib/environments/test_poller_method.py:106
Method_base_url
(self)
src/anthropic/lib/credentials/_workload.py:201
Method_bearer_auth
(self)
src/anthropic/_client.py:348
Method_bearer_auth
(self)
src/anthropic/_client.py:768
Method_build_workload_delegate
(self, auth: Dict[str, Any])
src/anthropic/lib/credentials/_providers.py:855
Function_close
()
tests/lib/tools/test_session_runner.py:1191
Method_dispatch_loop
(self)
src/anthropic/lib/tools/_beta_session_runner.py:794
Function_empty_headers
()
src/anthropic/lib/credentials/_types.py:8
Function_empty_skill_dirs
()
src/anthropic/lib/tools/agent_toolset.py:180
Function_exc_func
(*_: Any, **__: Any)
src/anthropic/_models.py:908
Function_fail
()
tests/lib/test_google_cloud.py:383
Function_fake_refresh
(creds: _FakeCredentials)
tests/lib/test_google_cloud.py:329
Method_gen
()
tests/lib/tools/test_session_runner.py:213
Method_get_page_items
(self)
src/anthropic/pagination.py:29
Method_get_page_items
(self)
src/anthropic/pagination.py:66
Method_get_page_items
(self)
src/anthropic/pagination.py:102
Method_get_page_items
(self)
src/anthropic/pagination.py:131
Method_get_page_items
(self)
src/anthropic/pagination.py:159
Method_get_page_items
(self)
src/anthropic/pagination.py:179
Method_get_page_items
(self)
src/anthropic/pagination.py:200
Method_get_page_items
(self)
src/anthropic/pagination.py:221
Method_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:411
Method_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:420
Method_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:701
Method_handle_request
(self)
src/anthropic/lib/tools/_beta_runner.py:710
Method_heartbeat
( work_id: str = work_item.id, environment_id: str = work_item.environ
src/anthropic/lib/environments/_worker.py:402
Method_idle_watchdog
Stop the runner once the session has been idle (``end_turn``) for ``max_idle`` seconds with no new events. Event-driven: it blocks on
src/anthropic/lib/tools/_beta_session_runner.py:917
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`` build
tests/lib/tools/test_session_runner.py:29
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:219
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1223
Method_isolate
(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1318
Function_isolate_environment
Ambient first-party / google-cloud env vars must not leak into these tests.
tests/lib/test_google_cloud.py:30
Function_json_default
(value: Any)
src/anthropic/lib/credentials/_secrets.py:89
Function_lazy
(**kwargs: Any)
src/anthropic/lib/tools/_beta_functions.py:573
Method_load_config
(self)
src/anthropic/lib/credentials/_providers.py:844
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_client.py:52
Function_low_retry_timeout
(*_args: Any, **_kwargs: Any)
tests/test_middleware.py:50
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:211
Method_make_sse_decoder
(self)
src/anthropic/lib/bedrock/_client.py:391
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/lib/bedrock/_mantle.py:64
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/lib/bedrock/_client.py:97
Method_make_status_error
( self, err_msg: str, *, body: object, response: httpx.Response, )
src/anthropic/lib/vertex/_client.py:53
Function_make_targz
(path: Path, entries: dict[str, bytes])
tests/lib/tools/test_skills.py:35
Function_md_match
(match: Match[str])
scripts/utils/ruffen-docs.py:45
Function_md_pycon_match
(match: Match[str])
scripts/utils/ruffen-docs.py:97
Method_mkstemp_enospc
(*_args: Any, **_kwargs: Any)
tests/lib/test_credentials.py:3551
Function_mtime_or_zero
(p: Path)
src/anthropic/lib/tools/agent_toolset.py:681
Function_no_sleep
(monkeypatch: pytest.MonkeyPatch)
tests/lib/environments/test_poller_method.py:111
Method_parsed_docstring
(self)
src/anthropic/lib/tools/_beta_functions.py:204
Method_parser
(resp: AsyncPageT)
src/anthropic/_base_client.py:315
Method_parser
(resp: SyncPageT)
src/anthropic/_base_client.py:1411
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:215
Method_prepare_options
(self, options: FinalRequestOptions)
src/anthropic/lib/bedrock/_client.py:395
← previousnext →1,201–1,300 of 4,911, ranked by callers