MCPcopy Create free account

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

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

Method__init__
(self, **options: Any)
tests/test_open_telemetry.py:4699
Method__init__
(self, failure: str)
tests/test_open_telemetry.py:7891
Method__init__
( self, handler: Callable[[httpx2.Request], httpx2.Response] | Callable[[httpx2.Reques
tests/test_client.py:65
Method__init__
(self, name: str = "middleware", events: "list[str] | None" = None)
tests/test_middleware.py:91
Method__init__
(self, **changes: object)
tests/test_middleware.py:117
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:1582
Method__init__
(self, tokens: List[AccessToken])
tests/lib/test_credentials.py:1590
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, *, id: str = "work_1")
tests/lib/environments/test_poller_method.py:45
Method__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:65
Method__init__
(self, poll_script: list[Any])
tests/lib/environments/test_poller_method.py:85
Method__init__
(self)
tests/lib/environments/test_poller_method.py:346
Method__init__
(self)
tests/lib/environments/test_poller_method.py:603
Method__init__
(self, *, heartbeat_state: str = "stopping", heartbeat_error: Exception | None = None)
tests/lib/environments/test_worker.py:96
Method__init__
(self, *, status: str = "running", resources: list[Any] | None = None)
tests/lib/environments/test_worker.py:143
Method__init__
(self)
tests/lib/environments/test_worker.py:1094
Method__init__
(self, clock: _FakeClock, script: list[tuple[float, Any]])
tests/lib/environments/test_worker.py:1105
Method__init__
(self, spans: Spans, items: list[Any], **kwargs: Any)
tests/lib/environments/test_worker.py:1238
Method__init__
(self)
tests/lib/tools/test_open_telemetry.py:117
Method__init__
(self, archive: Path)
tests/lib/tools/test_skills.py:416
Method__init__
(self, type: str, **kw: Any)
tests/lib/tools/test_session_runner.py:69
Method__init__
( self, events: list[_StubEvent], *, raise_after: int | None = None, r
tests/lib/tools/test_session_runner.py:157
Method__init__
( self, *, streams: list[_FakeStream | BaseException] | None = None, stream_ev
tests/lib/tools/test_session_runner.py:191
Method__init__
( self, name: str, fn: Callable[[dict[str, Any]], Awaitable[Any]], *,
tests/lib/tools/test_session_runner.py:254
Method__init__
(self, name: str, fn: Callable[[object], str])
tests/lib/tools/test_session_runner.py:274
Method__init__
(self, events: FakeAsyncEvents)
tests/lib/tools/test_session_runner.py:293
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: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:806
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
← previousnext →2,601–2,700 of 12,431, ranked by callers