MCPcopy Create free account

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

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

Methodextract
(self, carrier: Any, context: Context | None = None, getter: Any = None)
tests/test_open_telemetry.py:4095
Methodextract
(self, carrier: Any, context: Any = None, getter: Any = None)
tests/test_tracing.py:85
Functionfactory
(_env: Any)
tests/lib/environments/test_worker.py:324
Functionfail
(key: str)
tests/lib/tools/test_runner_eager_tools.py:365
Methodfail
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:8018
Functionfailing
(context: BetaComputerConfirmContext)
tests/lib/tools/toolsets/test_computer_pipeline.py:348
Methodfailing_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3108
Methodfailing_provider
(*, force_refresh: bool = False)
tests/lib/test_credentials.py:3530
Functionfailing_stop
(work_id: str, **_kw: Any)
tests/lib/environments/test_worker.py:441
Functionfake_aiter_work
(_work: Any, **_kw: Any)
tests/lib/environments/test_worker.py:189
Functionfake_factory
(client: Any, *, auth_token: str, helper: str)
tests/lib/environments/test_worker.py:172
Functionfake_factory
(client: Any, environment_key: str | None)
tests/lib/tools/test_session_runner.py:57
Functionfake_get_auth_headers
(**_: object)
tests/lib/test_bedrock.py:850
Functionfake_get_auth_headers
(**_: object)
tests/lib/test_aws.py:948
Methodfake_get_auth_headers
(**_: object)
tests/lib/test_bedrock_mantle.py:369
Methodfake_get_session
(**_kwargs: object)
tests/lib/test_aws_auth.py:593
Functionfake_load
()
tests/lib/test_google_cloud.py:792
Methodfake_popen
(*args: object, **kwargs: object)
tests/test_client.py:3019
Functionfake_provider
(*, force_refresh: bool = False)
tests/lib/test_scoped_client.py:42
Functionfake_run_session_tools
( _client: Any, session_id: str, *, tools: Any, max_idle: Any = None,
tests/lib/environments/test_worker.py:203
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:198
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:331
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:471
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:564
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:657
Methodfederation
(self)
src/anthropic/resources/beta/organization/organization.py:750
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:134
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:234
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:341
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:402
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:463
Methodfederation
(self)
src/anthropic/resources/organization/organization.py:524
Methodfetch
()
tests/lib/test_credentials.py:1621
Functionfetch_jwt_from_vault
()
examples/workload_identity.py:80
Functionfield_is_required
(field: FieldInfo)
src/anthropic/_compat.py:82
Methodfields
(self)
tests/test_open_telemetry.py:4105
Methodfields
(self)
tests/test_open_telemetry.py:7926
Methodfields
(self)
tests/test_tracing.py:95
Functionfile_from_path
(path: str)
src/anthropic/_utils/_utils.py:401
Methodfile_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
Methodfile_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
Methodfile_upload
(self, context: BetaToolsetCallContext, input: BetaBrowserFileUploadInput)
tests/lib/tools/toolsets/_fakes.py:200
Methodfile_upload
(self, context: BetaToolsetCallContext, input: BetaBrowserFileUploadInput)
tests/lib/tools/toolsets/_fakes.py:274
Methodfiles
(self)
src/anthropic/_client.py:326
Methodfiles
(self)
src/anthropic/_client.py:737
Methodfiles
(self)
src/anthropic/_client.py:993
Methodfiles
(self)
src/anthropic/_client.py:1045
Methodfiles
(self)
src/anthropic/_client.py:1097
Methodfiles
(self)
src/anthropic/_client.py:1149
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:176
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:268
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:363
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:435
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:507
Methodfiles
(self)
src/anthropic/resources/beta/beta.py:579
Functionfiles_from_dir
(directory: str | os.PathLike[str])
src/anthropic/lib/_files.py:11
Methodfinal_attempt
The response of the call's final attempt, which the error of a failed call carries.
src/anthropic/_tracing.py:301
Methodfind
(self, context: BetaToolsetCallContext, input: BetaBrowserFindInput)
src/anthropic/lib/tools/_toolsets/_browser.py:646
Functionfinish_that_breaks
(_self: memories_mod.SessionMemoryStores)
tests/lib/tools/memory_sync/test_e2e_memory.py:317
Methodfinished
(self)
tests/test_open_telemetry.py:148
Methodfinished
(self)
tests/lib/tools/test_open_telemetry.py:123
Methodfit
(parts: list[Part], limit: int)
tests/test_open_telemetry.py:6342
Functionflaky_hash_file
(self: _file_store.LocalFileStore, rel_path: str)
tests/lib/tools/memory_sync/test_keep_only_copy.py:172
Functionflaky_put
(self: _file_store.LocalFileStore, rel: str, content: str)
tests/lib/tools/memory_sync/test_memory_sync.py:86
Functionflaky_remove
(_self: _file_store.LocalFileStore, _rel: str)
tests/lib/tools/memory_sync/test_memory_sync.py:605
Methodfn
(x: int)
tests/lib/tools/test_functions.py:556
Methodfor_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
Methodfor_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
Methodfork
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
Methodform_input
(self, context: BetaToolsetCallContext, input: BetaBrowserFormInputInput)
src/anthropic/lib/tools/_toolsets/_browser.py:390
Methodform_input
(self, context: BetaToolsetCallContext, input: BetaBrowserFormInputInput)
src/anthropic/lib/tools/_toolsets/_browser.py:640
Methodfunction
(*_args: object, **_kwargs: object)
tests/test_open_telemetry.py:8172
Functiongate_uploads
(context: BetaConfirmContext)
tests/lib/tools/toolsets/test_confirm.py:88
Functiongated
(_input: dict[str, Any])
tests/lib/tools/test_session_runner.py:669
Functiongated
(memory_id: str, **kwargs: Any)
tests/lib/tools/memory_sync/test_two_pass.py:94
Methodgenerate_span_id
(self)
tests/test_open_telemetry.py:4116
Methodget
( self, path: str, *, cast_to: Type[ResponseT], options: RequestOption
src/anthropic/_base_client.py:2370
Methodget_api_list
( self, path: str, *, model: Type[_T], page: Type[AsyncPageT],
src/anthropic/_base_client.py:2532
Functionget_auth_headers_recorder
(monkeypatch: pytest.MonkeyPatch)
tests/lib/test_bedrock_mantle.py:73
Methodget_description
(self)
tests/test_open_telemetry.py:206
Methodget_description
(self)
tests/test_open_telemetry.py:7911
Methodget_description
(self)
tests/lib/environments/test_poller_method.py:613
Methodget_description
(self)
tests/lib/tools/test_open_telemetry.py:1019
Methodget_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:109
Methodget_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:281
Methodget_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:269
Methodget_next_page
(self: AsyncPageT)
src/anthropic/_base_client.py:404
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
src/anthropic/lib/tools/_toolsets/_browser.py:399
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
src/anthropic/lib/tools/_toolsets/_browser.py:649
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1022
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1047
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1099
Methodget_page_text
(self, context: BetaToolsetCallContext, input: Any)
tests/lib/tools/toolsets/test_pipeline.py:1216
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:204
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/_fakes.py:278
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/test_interface.py:269
Methodget_page_text
(self, context: BetaToolsetCallContext, input: BetaBrowserGetPageTextInput)
tests/lib/tools/toolsets/test_interface.py:286
Methodget_platform
()
tests/test_open_telemetry.py:2410
Functionget_required_header
(headers: HeadersLike, header: str)
src/anthropic/_utils/_utils.py:407
Functionget_time
Lookup the current time in a timezone.
tests/lib/tools/test_runners.py:1067
← previousnext →3,701–3,800 of 12,795, ranked by callers