MCPcopy Create free account

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

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

Methodtest_stream_helper_error_event_has_the_partial_output
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5736
Methodtest_stream_helper_over_a_stand_in_for_the_stream
(self)
tests/test_open_telemetry.py:2488
Methodtest_stream_helper_read_error_has_the_partial_output
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:5772
Methodtest_stream_helper_stream_ended_by_the_server_has_the_partial_output
( self, beta: bool, events: list[dict[str, Any]], parts: list[dict[str, Any]],
tests/test_open_telemetry.py:5678
Methodtest_stream_helper_that_cannot_accumulate_an_event_has_no_output
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5870
Methodtest_stream_helper_without_a_message_start_has_no_output
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5836
Methodtest_stream_helpers_have_the_clients
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:4576
Functiontest_stream_method_definition_in_sync
(sync: bool)
tests/lib/streaming/test_messages.py:816
Functiontest_stream_method_definition_in_sync
(sync: bool)
tests/lib/streaming/test_beta_messages.py:1046
Methodtest_stream_over_a_body_that_was_read_before_the_call_returned
( self, spans: Spans, events: list[dict[str, Any]], status: StatusCode, error_type: str | None )
tests/test_open_telemetry.py:1345
Methodtest_stream_over_a_body_that_was_read_is_closed_or_read_with_the_helper
(self, spans: Spans)
tests/test_open_telemetry.py:1387
Methodtest_stream_over_a_response_that_a_middleware_made_from_bytes
(self, spans: Spans)
tests/test_open_telemetry.py:1421
Methodtest_stream_over_a_stand_in_for_the_response
(self, spans: Spans, traces: bool)
tests/test_open_telemetry.py:2476
Methodtest_stream_parsed_from_a_raw_response_is_recorded_like_a_stream
( self, spans: Spans, respx_mock: MockRouter, events: list[dict[str, Any]],
tests/test_open_telemetry.py:1277
Functiontest_stream_permanent_4xx_ends_iteration
A permanent 4xx on the stream connect must not loop forever — the iterator should exit cleanly.
tests/lib/tools/test_session_runner.py:1992
Functiontest_stream_raises_api_error_for_error_frame
( frame: bytes, error: t.Dict[str, str], sync: bool, respx_mock: MockRouter )
tests/lib/test_bedrock.py:676
Methodtest_stream_read_to_the_end
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:1708
Methodtest_stream_read_without_the_stream_helper
( self, beta: bool, message: dict[str, Any], content_mode: str, spans: Spans, respx_mock: MockRouter
tests/test_open_telemetry.py:7812
Methodtest_stream_read_without_the_stream_helper_records_everything_but_its_content
( self, beta: bool, spans: Spans, respx_mock: MockRouter, monkeypatch: pytest.MonkeyPatch )
tests/test_open_telemetry.py:5908
Methodtest_stream_read_without_the_stream_helper_that_ends_early_has_no_output
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5947
Methodtest_stream_records_the_reply_once_it_reaches_message_stop
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1584
Methodtest_stream_records_the_reply_once_it_reaches_message_stop
(self, respx_mock: MockRouter)
tests/lib/threads/test_async_beta_threads.py:785
Functiontest_stream_rejects_a_schema_dict
(client: Anthropic)
tests/lib/test_output_format_helpers.py:69
Methodtest_stream_rejects_schema_dict
A raw schema dict is no longer accepted by `.stream()`; it belongs in `output_config.format`.
tests/api_resources/beta/test_output_format_conversion.py:62
Functiontest_stream_skips_typeless_chunk
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:621
Functiontest_stream_skips_typeless_chunk_async
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:639
Methodtest_stream_that_finds_the_thread_gone_replays_inside_the_same_stream
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1596
Methodtest_stream_whose_bytes_the_application_reads_itself
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:1561
Methodtest_stream_with_raw_schema
Test async messages.stream() with raw JSON schema via output_config.
tests/lib/_parse/test_messages.py:188
Methodtest_stream_with_raw_schema
(self, async_snapshot_client: AsyncAnthropic)
tests/lib/_parse/test_beta_messages.py:20
Methodtest_stream_without_a_content_block_delta_has_no_time_to_first_chunk
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:1840
Methodtest_streamed_compaction_tokens
(self, content_mode: str, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:2066
Functiontest_streamed_fallback_block_is_constructed_as_fallback_block
()
tests/lib/streaming/test_parsed_content_blocks.py:67
Methodtest_streamed_response_model_is_the_one_that_a_fallback_block_names
( self, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:2235
Methodtest_streamed_server_and_mcp_tool_blocks_are_tool_calls_and_their_responses
( self, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5358
Methodtest_streamed_thinking_is_a_reasoning_part_without_its_signature
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5569
Methodtest_streamed_toolset_name_of_a_tool_use_block_is_on_its_tool_call
( self, beta: bool, sync: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5463
Methodtest_streaming
(self, sync_client: AnthropicGoogleCloud)
tests/lib/test_google_cloud_live.py:69
Methodtest_streaming
(self, async_client: AsyncAnthropicGoogleCloud)
tests/lib/test_google_cloud_live.py:125
Methodtest_streaming_call_sync
(self, snapshot_client: Anthropic)
tests/lib/tools/test_runners.py:324
Methodtest_streaming_call_sync_events
(self, snapshot_client: Anthropic)
tests/lib/tools/test_runners.py:421
Methodtest_streaming_error_response_is_visible_to_middleware
(self, respx_mock: MockRouter)
tests/test_middleware.py:982
Methodtest_streaming_flows_through_middleware
(self, respx_mock: MockRouter)
tests/test_middleware.py:958
Methodtest_streaming_response_ack
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:238
Methodtest_streaming_response_ack
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:717
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:308
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:621
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:107
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:281
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:206
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:471
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:238
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:545
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:96
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:249
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:107
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:287
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:110
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:289
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:90
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:233
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:194
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:443
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:193
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:441
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/organization/rbac_groups/test_members.py:90
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/rbac_groups/test_members.py:233
Methodtest_streaming_response_add
(self, client: Anthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:92
Methodtest_streaming_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:239
Methodtest_streaming_response_approve
(self, client: Anthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:141
Methodtest_streaming_response_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:342
Methodtest_streaming_response_approve
(self, client: Anthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:128
Methodtest_streaming_response_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:311
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_sessions.py:372
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_sessions.py:747
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_dreams.py:218
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_dreams.py:493
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_vaults.py:296
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_vaults.py:596
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_tunnels.py:188
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_tunnels.py:483
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_agents.py:357
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_agents.py:718
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_deployments.py:357
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_deployments.py:870
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_environments.py:336
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_environments.py:676
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_memory_stores.py:301
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_memory_stores.py:605
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_threads.py:169
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_threads.py:353
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/vaults/test_credentials.py:391
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/vaults/test_credentials.py:854
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_workspaces.py:243
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_workspaces.py:491
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_service_accounts.py:240
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_service_accounts.py:485
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:257
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:519
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_rules.py:294
← previousnext →10,101–10,200 of 12,274, ranked by callers