MCPcopy Create free account

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

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

Method__init__
(self, result: CallToolResult | None = None)
tests/lib/tools/test_mcp_tool.py:58
Method__init__
(self, answer: object)
tests/lib/tools/toolsets/test_pipeline.py:239
Method__init__
(self)
tests/lib/tools/toolsets/_stubs.py:46
Method__init__
(self)
tests/lib/tools/toolsets/_stubs.py:70
Method__init__
(self, world: World | None = None, **options: Any)
tests/lib/tools/toolsets/_fakes.py:159
Method__init__
(self, world: World | None = None, **options: Any)
tests/lib/tools/toolsets/_fakes.py:229
Method__init__
(self, desktop: Desktop | None = None, **options: Any)
tests/lib/tools/toolsets/_computer_fakes.py:79
Method__init__
(self, desktop: Desktop | None = None, **options: Any)
tests/lib/tools/toolsets/_computer_fakes.py:134
Method__init__
(self, initial: Mapping[str, str | None])
tests/lib/tools/memory_sync/_fake_anthropic.py:41
Method__init__
(self, server: MemoryServer, *, noise: bool = False)
tests/lib/tools/memory_sync/_fake_anthropic.py:92
Method__init__
(self)
tests/lib/tools/memory_sync/conftest.py:19
Method__init__
(self, **kwargs: Any)
tests/decoders/test_jsonl.py:103
Method__init__
(self, message: str = "Thinking")
examples/memory/basic.py:45
Method__iter__
(self)
src/anthropic/_types.py:377
Method__iter__
(self)
src/anthropic/_base_client.py:307
Method__iter__
(self)
src/anthropic/_tracing.py:556
Method__iter__
(self)
src/anthropic/_streaming.py:64
Method__iter__
(self)
src/anthropic/lib/tools/_beta_runner.py:644
Method__iter__
(self)
src/anthropic/lib/middleware/_fallbacks.py:1699
Method__iter__
(self)
src/anthropic/lib/streaming/_beta_messages.py:78
Method__iter__
(self)
src/anthropic/lib/streaming/_messages.py:73
Method__iter__
(self)
src/anthropic/_decoders/jsonl.py:72
Method__iter__
(self)
tests/test_prepare.py:151
Method__iter__
(self)
tests/test_prepare.py:156
Method__iter__
(self)
tests/utils.py:196
Method__iter__
(self)
tests/test_open_telemetry.py:627
Method__iter__
(self)
tests/test_open_telemetry.py:1119
Method__iter__
(self)
tests/test_open_telemetry.py:1926
Method__iter__
(self)
tests/test_open_telemetry.py:2490
Method__iter__
(self)
tests/test_open_telemetry.py:5775
Method__iter__
(self)
tests/lib/tools/test_runner_eager_tools.py:986
Method__len__
(self)
src/anthropic/_types.py:376
Method__len__
(self)
tests/test_prepare.py:198
Method__len__
(self)
tests/lib/tools/toolsets/test_interface.py:182
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:58
Method__next__
(self)
src/anthropic/lib/tools/_beta_runner.py:641
Method__next__
(self)
src/anthropic/lib/streaming/_beta_messages.py:75
Method__next__
(self)
src/anthropic/lib/streaming/_messages.py:70
Method__next__
(self)
src/anthropic/_decoders/jsonl.py:69
Method__next__
(self)
tests/test_open_telemetry.py:1929
Method__post_init__
(self)
src/anthropic/lib/tools/agent_toolset.py:293
Method__reduce__
(self)
src/anthropic/_exceptions.py:45
Method__repr__
(self)
src/anthropic/_response.py:125
Method__repr__
(self)
src/anthropic/_types.py:257
Method__repr__
(self)
src/anthropic/_request.py:113
Method__repr__
(self)
src/anthropic/_models.py:810
Method__repr__
(self)
src/anthropic/_base_client.py:214
Method__repr__
(self)
src/anthropic/_streaming.py:331
Method__repr__
(self)
src/anthropic/_utils/_proxy.py:26
Method__repr__
(self)
src/anthropic/lib/credentials/_types.py:43
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: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:289
Method__str__
(self)
src/anthropic/_base_client.py:2623
Method__str__
(self)
src/anthropic/_base_client.py:2700
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:377
Method_api_key_auth
(self)
src/anthropic/_client.py:788
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:384
Method_bearer_auth
(self)
src/anthropic/_client.py:795
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
← previousnext →2,701–2,800 of 12,795, ranked by callers