MCPcopy Create free account

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

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

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:1278
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:677
Methodtest_stream_read_to_the_end
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:1709
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:7814
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:5910
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:5949
Methodtest_stream_records_the_reply_once_it_reaches_message_stop
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1585
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
Functiontest_stream_rejects_a_string
(client: Anthropic)
tests/lib/test_output_format_helpers.py:122
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:622
Functiontest_stream_skips_typeless_chunk_async
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:640
Methodtest_stream_that_finds_the_thread_gone_replays_inside_the_same_stream
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1597
Methodtest_stream_whose_bytes_the_application_reads_itself
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:1562
Methodtest_stream_with_raw_schema
Test async messages.stream() with raw JSON schema via output_config.
tests/lib/_parse/test_messages.py:388
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:1841
Methodtest_streamed_compaction_tokens
(self, content_mode: str, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:2067
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:2236
Methodtest_streamed_server_and_mcp_tool_blocks_are_tool_calls_and_their_responses
( self, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5359
Methodtest_streamed_thinking_is_a_reasoning_part_without_its_signature
( self, beta: bool, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:5570
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:5464
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:1125
Methodtest_streaming_flows_through_middleware
(self, respx_mock: MockRouter)
tests/test_middleware.py:1101
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_activate
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_storage.py:314
Methodtest_streaming_response_activate
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_storage.py:632
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:362
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_agents.py:728
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_deployments.py:370
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_deployments.py:896
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/bedrock/test_sessions.py:456
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/bedrock/test_sessions.py:914
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/bedrock/test_agents.py:399
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/bedrock/test_agents.py:803
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/bedrock/test_memory_stores.py:376
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/bedrock/test_memory_stores.py:756
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/bedrock/sessions/test_threads.py:199
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/bedrock/sessions/test_threads.py:415
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:273
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_workspaces.py:551
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:299
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_rules.py:603
Methodtest_streaming_response_archive
(self, client: Anthropic)
tests/api_resources/beta/tunnels/test_certificates.py:225
Methodtest_streaming_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/tunnels/test_certificates.py:465
← previousnext →11,601–11,700 of 14,068, ranked by callers