MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Method__init__
( self, *, created_with: TurnOverrides, given_for_the_turn: TurnOverrides, replaces_lost_thread: bool
src/anthropic/lib/threads/_thread_state.py:487
Method__init__
(self, *, previous_message_id: str, created_with: TurnOverrides, replaces_lost_thread: bool)
src/anthropic/lib/threads/_thread_state.py:502
Method__init__
(self, param: BetaMessageParam)
src/anthropic/lib/threads/_thread_state.py:534
Method__init__
(self, message: BetaMessage, *, partial: bool = False)
src/anthropic/lib/threads/_thread_state.py:544
Method__init__
(self, started_with: list[Entry])
src/anthropic/lib/threads/_thread_state.py:557
Method__init__
(self, output_type: type[ResponseFormatT])
src/anthropic/lib/threads/_thread_state.py:566
Method__init__
( self, options: ResolvedOpenTelemetryOptions, *, provider_name: str, platform: str | None = None
src/anthropic/lib/_tracing/_config.py:15
Method__init__
( self, span: trace.Span, body: MessageCreateBody, *, span_name: str |
src/anthropic/lib/_tracing/_streaming.py:42
Method__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:68
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:77
Method__init__
(self, beta: Beta)
src/anthropic/lib/vertex/_beta.py:86
Method__init__
(self, beta: AsyncBeta)
src/anthropic/lib/vertex/_beta.py:95
Method__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:73
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:88
Method__init__
(self, messages: Messages)
src/anthropic/lib/vertex/_beta_messages.py:103
Method__init__
(self, messages: AsyncMessages)
src/anthropic/lib/vertex/_beta_messages.py:115
Method__init__
( self, *, region: str | NotGiven = not_given, project_id: str | NotGiven = no
src/anthropic/lib/vertex/_client.py:224
Method__init__
(self, credentials: GoogleCredentials | None)
src/anthropic/lib/google_cloud/_client.py:79
Method__init__
Construct a new asynchronous Claude Models on Google Cloud (Anthropic managed) client. `token_provider` may be sync or async; sync providers
src/anthropic/lib/google_cloud/_client.py:497
Method__init__
(self, aiohttp_response: ClientResponse)
src/anthropic/_vendor/httpx_aiohttp/transport.py:69
Method__init__
( self, verify: ssl.SSLContext | str | bool = True, cert: t.Union[str, t.Tuple[str, st
src/anthropic/_vendor/httpx_aiohttp/transport.py:83
Method__init__
( self, *, raw_iterator: AsyncIterator[bytes], line_type: type[_T], ht
src/anthropic/_decoders/jsonl.py:86
Method__init__
(self, client: Anthropic | AsyncAnthropic)
tests/test_prepare.py:60
Method__init__
(self)
tests/test_prepare.py:140
Method__init__
(self, error: Exception)
tests/utils.py:225
Method__init__
(self)
tests/test_open_telemetry.py:196
Method__init__
(self)
tests/test_open_telemetry.py:701
Method__init__
(self)
tests/test_open_telemetry.py:1922
Method__init__
(self, inner: TextMapPropagator)
tests/test_open_telemetry.py:4091
Method__init__
(self)
tests/test_open_telemetry.py:4113
Method__init__
(self, **options: Any)
tests/test_open_telemetry.py:4693
Method__init__
(self, **options: Any)
tests/test_open_telemetry.py:4700
Method__init__
(self, failure: str)
tests/test_open_telemetry.py:7893
Method__init__
( self, handler: Callable[[httpx2.Request], httpx2.Response] | Callable[[httpx2.Reques
tests/test_client.py:75
Method__init__
(self, error: Exception)
tests/test_client.py:108
Method__init__
(self, name: str = "middleware", events: "list[str] | None" = None)
tests/test_middleware.py:92
Method__init__
(self, **changes: object)
tests/test_middleware.py:118
Method__init__
(self, fallback_model: str)
tests/test_middleware.py:161
Method__init__
(self, max_tokens: int)
tests/test_middleware.py:185
Method__init__
(self, message: Message)
tests/test_middleware.py:209
Method__init__
(self)
tests/test_middleware.py:227
Method__init__
(self)
tests/test_middleware.py:284
Method__init__
(self)
tests/test_middleware.py:303
Method__init__
(self)
tests/test_middleware.py:322
Method__init__
(self)
tests/test_middleware.py:333
Method__init__
(self)
tests/test_middleware.py:364
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:340
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:2496
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:571
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:263
Method__init__
(self, name: str, fn: Callable[[object], str])
tests/lib/tools/_fake_sessions_api.py:816
Method__init__
(self)
tests/lib/tools/_fake_sessions_api.py:1008
Method__init__
(self, loop: VirtualClockLoop)
tests/lib/tools/_fake_sessions_api.py:1028
Method__init__
(self, canned: Reply, fails_before: str | None)
tests/lib/tools/test_runner_eager_tools.py:969
Method__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1033
Method__init__
(self, timeline: list[str])
tests/lib/tools/test_runner_eager_tools.py:1046
Method__init__
(self, sync: bool, client: Anthropic, async_client: AsyncAnthropic, respx_mock: MockRouter)
tests/lib/tools/test_runner_eager_tools.py:1094
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:106
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:309
Method__iter__
(self)
src/anthropic/_tracing.py:556
Method__iter__
(self)
src/anthropic/_streaming.py:66
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:82
Method__iter__
(self)
src/anthropic/lib/streaming/_messages.py:77
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
← previousnext →2,901–3,000 of 14,068, ranked by callers