MCPcopy Create free account

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

Functions13,873 in github.com/anthropics/anthropic-sdk-python

Method__init__
(self, fallback_model: str)
tests/test_middleware.py:135
Method__init__
(self, max_tokens: int)
tests/test_middleware.py:159
Method__init__
(self, message: Message)
tests/test_middleware.py:183
Method__init__
(self)
tests/test_middleware.py:201
Method__init__
(self)
tests/test_middleware.py:258
Method__init__
(self)
tests/test_middleware.py:277
Method__init__
(self)
tests/test_middleware.py:296
Method__init__
(self)
tests/test_middleware.py:307
Method__init__
(self)
tests/test_middleware.py:338
Method__init__
(self, attributes: Any, *, sampled: bool)
tests/test_tracing.py:33
Method__init__
(self, provider: RecordingProvider)
tests/test_tracing.py:54
Method__init__
(self, *, sampled: bool = True)
tests/test_tracing.py:69
Method__init__
(self)
tests/test_tracing.py:81
Method__init__
(self, **kwargs: Any)
tests/test_streaming.py:297
Method__init__
(self, now: float = 1000.0)
tests/lib/test_credentials.py:1587
Method__init__
(self, tokens: List[AccessToken])
tests/lib/test_credentials.py:1595
Method__init__
(self)
tests/lib/test_credentials.py:2468
Method__init__
(self)
tests/lib/test_bedrock_mantle.py:64
Method__init__
(self, token: str | None, *, expired: bool = False, project_id: str | None = None)
tests/lib/test_google_cloud.py:52
Method__init__
(self)
tests/lib/environments/test_poller.py:298
Method__init__
(self, trace: Trace, poll: Request, requests: list[Request], ended_at: float)
tests/lib/environments/test_worker_properties.py:107
Method__init__
(self, actions: list[Step], client: AsyncAnthropic, *, tools: list[Tool], **_options: Any)
tests/lib/environments/test_worker_properties.py:289
Method__init__
(self, api: FakeApi, steps: Sequence[Step], *, skip_disabled: bool = False)
tests/lib/environments/_schedules.py:40
Method__init__
(self, api: FakeApi, worker: str)
tests/lib/environments/_schedules.py:130
Method__init__
(self, *, variant: Variant, latency: float, items: Sequence[str])
tests/lib/environments/_fake_work_api.py:214
Method__init__
(self, max_idle: float | None, until: float, max_calls: float = 1)
tests/lib/tools/test_session_runner_properties.py:163
Method__init__
(self, actions: Sequence[Step], client: AsyncAnthropic, session_id: str, *, tools: list[Tool])
tests/lib/tools/test_session_runner_properties.py:569
Method__init__
(self)
tests/lib/tools/test_open_telemetry.py:127
Method__init__
(self, archive: Path)
tests/lib/tools/test_skills.py:419
Method__init__
(self, session: FakeSession)
tests/lib/tools/_fake_sessions_api.py:199
Method__init__
( self, *, latency: float, page_size: int, custom_permissions: bool, lists_pending: bool, self_hosted:
tests/lib/tools/_fake_sessions_api.py:259
Method__init__
(self, name: str, fn: Callable[[object], str])
tests/lib/tools/_fake_sessions_api.py:808
Method__init__
(self)
tests/lib/tools/_fake_sessions_api.py:1000
Method__init__
(self, loop: VirtualClockLoop)
tests/lib/tools/_fake_sessions_api.py:1020
Method__init__
(self, canned: Reply, fails_before: str | None)
tests/lib/tools/test_runner_eager_tools.py:968
Method__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1032
Method__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1045
Method__init__
(self, sync: bool, client: Anthropic, async_client: AsyncAnthropic, respx_mock: MockRouter)
tests/lib/tools/test_runner_eager_tools.py:1093
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:79
Method__iter__
(self)
src/anthropic/lib/streaming/_messages.py:75
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:76
Method__next__
(self)
src/anthropic/lib/streaming/_messages.py:72
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:307
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:2626
Method__str__
(self)
src/anthropic/_base_client.py:2703
← previousnext →2,901–3,000 of 13,873, ranked by callers