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
Method
external_storage
(self)
src/anthropic/resources/beta/organization/organization.py:576
Method
external_storage
(self)
src/anthropic/resources/beta/organization/organization.py:669
Method
external_storage
(self)
src/anthropic/resources/beta/organization/organization.py:762
Method
extract
(self, carrier: Any, context: Context | None = None, getter: Any = None)
tests/test_open_telemetry.py:4095
Method
extract
(self, carrier: Any, context: Any = None, getter: Any = None)
tests/test_tracing.py:85
Function
fail
(key: str)
tests/lib/tools/test_runner_eager_tools.py:365
Function
fail
(_env: AgentToolContext)
tests/lib/tools/memory_sync/test_e2e_memory.py:347
Method
fail
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:8018
Method
fail
(self)
tests/lib/environments/test_worker_properties.py:327
Method
fail
With `applied`, the API handles the requests first.
tests/lib/environments/_fake_work_api.py:305
Method
fail
The next requests of `kind` get `status`, a connection error for `reset`, or no response for `hang`. `html` and `half_json` are a 200 with a
tests/lib/tools/_fake_sessions_api.py:533
Function
failing
(kind: str, *fault: object, after: int = 0)
tests/lib/environments/test_worker_properties.py:337
Function
failing
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:348
Method
failing_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3265
Method
failing_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3855
Function
fake_get_auth_headers
(**_: object)
tests/lib/test_bedrock.py:851
Function
fake_get_auth_headers
(**_: object)
tests/lib/test_aws.py:948
Method
fake_get_auth_headers
(**_: object)
tests/lib/test_bedrock_mantle.py:369
Method
fake_get_session
(**_kwargs: object)
tests/lib/test_aws_auth.py:593
Function
fake_load
()
tests/lib/test_google_cloud.py:792
Method
fake_popen
(*args: object, **kwargs: object)
tests/test_client.py:3019
Function
fake_provider
(*, force_refresh: bool = False)
tests/lib/test_scoped_client.py:42
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:198
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:331
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:471
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:564
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:657
Method
federation
(self)
src/anthropic/resources/beta/organization/organization.py:750
Method
federation
(self)
src/anthropic/resources/organization/organization.py:134
Method
federation
(self)
src/anthropic/resources/organization/organization.py:234
Method
federation
(self)
src/anthropic/resources/organization/organization.py:341
Method
federation
(self)
src/anthropic/resources/organization/organization.py:402
Method
federation
(self)
src/anthropic/resources/organization/organization.py:463
Method
federation
(self)
src/anthropic/resources/organization/organization.py:524
Method
fetch
()
tests/lib/test_credentials.py:1626
Function
fetch_jwt_from_vault
()
examples/workload_identity.py:80
Function
field_is_required
(field: FieldInfo)
src/anthropic/_compat.py:82
Method
fields
(self)
tests/test_open_telemetry.py:4105
Method
fields
(self)
tests/test_open_telemetry.py:7926
Method
fields
(self)
tests/test_tracing.py:95
Function
file_from_path
(path: str)
src/anthropic/_utils/_utils.py:401
Method
file_upload
Default-disabled. Enabling it in `configs` lets a page read files on the machine running the browser: pass a `file_policy` confined to one ded
src/anthropic/lib/tools/_toolsets/_browser.py:405
Method
file_upload
Default-disabled. Enabling it in `configs` lets a page read files on the machine running the browser: pass a `file_policy` confined to one ded
src/anthropic/lib/tools/_toolsets/_browser.py:655
Method
file_upload
(self, context: BetaToolsetCallContext, input: BetaBrowserFileUploadInput)
tests/lib/tools/toolsets/_fakes.py:200
Method
file_upload
(self, context: BetaToolsetCallContext, input: BetaBrowserFileUploadInput)
tests/lib/tools/toolsets/_fakes.py:274
Method
files
(self)
src/anthropic/_client.py:326
Method
files
(self)
src/anthropic/_client.py:734
Method
files
(self)
src/anthropic/_client.py:987
Method
files
(self)
src/anthropic/_client.py:1039
Method
files
(self)
src/anthropic/_client.py:1091
Method
files
(self)
src/anthropic/_client.py:1143
Method
files
(self)
src/anthropic/resources/beta/beta.py:176
Method
files
(self)
src/anthropic/resources/beta/beta.py:268
Method
files
(self)
src/anthropic/resources/beta/beta.py:363
Method
files
(self)
src/anthropic/resources/beta/beta.py:435
Method
files
(self)
src/anthropic/resources/beta/beta.py:507
Method
files
(self)
src/anthropic/resources/beta/beta.py:579
Function
files_from_dir
(directory: str | os.PathLike[str])
src/anthropic/lib/_files.py:11
Method
final_attempt
The response of the call's final attempt, which the error of a failed call carries.
src/anthropic/_tracing.py:301
Method
find
(self, context: BetaToolsetCallContext, input: BetaBrowserFindInput)
src/anthropic/lib/tools/_toolsets/_browser.py:646
Method
finish
(self, exit_code: int, *, stderr_end: str, create_file: Callable[[], IO[bytes]])
src/anthropic/lib/tools/agent_toolset.py:742
Method
finish
(self, end: str = "")
src/anthropic/lib/tools/agent_toolset.py:795
Method
finished
(self)
tests/test_open_telemetry.py:148
Method
finished
(self, session: FakeSession)
tests/lib/tools/test_session_runner_properties.py:418
Method
finished
(self)
tests/lib/tools/test_open_telemetry.py:133
Method
fit
(parts: list[Part], limit: int)
tests/test_open_telemetry.py:6342
Function
flaky_hash_file
(self: _file_store.LocalFileStore, rel_path: str)
tests/lib/tools/memory_sync/test_keep_only_copy.py:172
Function
flaky_put
(self: _file_store.LocalFileStore, rel: str, content: str)
tests/lib/tools/memory_sync/test_memory_sync.py:86
Function
flaky_remove
(_self: _file_store.LocalFileStore, _rel: str)
tests/lib/tools/memory_sync/test_memory_sync.py:605
Function
fn
(_input: object)
tests/lib/tools/test_session_runner.py:113
Method
fn
(x: int)
tests/lib/tools/test_functions.py:556
Method
for_base_url
Return the provider a client with `base_url` should exchange through. Either `self`, bound to `base_url`, or — if another client already
src/anthropic/lib/credentials/_types.py:101
Method
for_base_url
Return the provider a client with `base_url` should exchange through. Binds in place, unless another client already bound this instance to a
src/anthropic/lib/credentials/_workload.py:212
Method
fork
Return a new, independent thread with a copy of this one's history, request fields, tools and request options, and no `previous_message_id`. S
src/anthropic/lib/threads/_beta_threads.py:127
Method
form_input
(self, context: BetaToolsetCallContext, input: BetaBrowserFormInputInput)
src/anthropic/lib/tools/_toolsets/_browser.py:390
Method
form_input
(self, context: BetaToolsetCallContext, input: BetaBrowserFormInputInput)
src/anthropic/lib/tools/_toolsets/_browser.py:640
Function
from_a_proxy
(status: int, _message: str)
tests/lib/tools/test_session_runner.py:1243
Method
function
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:8172
Function
gate_uploads
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:88
Function
gated
(memory_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/test_two_pass.py:94
Method
generate_span_id
(self)
tests/test_open_telemetry.py:4116
Method
get
( self, path: str, *, cast_to: Type[ResponseT], options: RequestOption
src/anthropic/_base_client.py:2373
Method
get_api_list
( self, path: str, *, model: Type[_T], page: Type[AsyncPageT],
src/anthropic/_base_client.py:2535
Function
get_auth_headers_recorder
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_bedrock_mantle.py:73
Method
get_description
(self)
tests/test_open_telemetry.py:206
Method
get_description
(self)
tests/test_open_telemetry.py:7911
Method
get_description
(self)
tests/lib/tools/test_open_telemetry.py:1029
Method
get_final_text
Returns all `text` content blocks concatenated together. > [!NOTE] > Currently the API will only respond with a single content block.
src/anthropic/lib/streaming/_beta_messages.py:110
Method
get_final_text
Returns all `text` content blocks concatenated together. > [!NOTE] > Currently the API will only respond with a single content block.
src/anthropic/lib/streaming/_beta_messages.py:282
Method
get_final_text
Returns all `text` content blocks concatenated together. > [!NOTE] > Currently the API will only respond with a single content block.
src/anthropic/lib/streaming/_messages.py:271
Method
get_next_page
(self: AsyncPageT)
src/anthropic/_base_client.py:404
Method
get_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
src/anthropic/lib/tools/_toolsets/_browser.py:399
Method
get_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
src/anthropic/lib/tools/_toolsets/_browser.py:649
Method
get_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1022
Method
get_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1047
Method
get_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1099
Method
get_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1216
Method
get_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:204
Method
get_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:278
Method
get_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/test_interface.py:269
← previous
next →
4,001–4,100 of 13,873, ranked by callers