Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,824 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,824
◇
Types & classes
4,274
↳
Endpoints
47
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:165
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:427
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_rules.py:206
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_rules.py:510
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_code/managed_settings/test_rbac_group_default.py:89
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_code/managed_settings/test_rbac_group_default.py:187
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_code/managed_settings/test_configuration.py:89
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_code/managed_settings/test_configuration.py:182
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/providers/google/projects/test_data_controls.py:102
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/providers/google/projects/test_data_controls.py:216
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_workspaces.py:112
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_workspaces.py:274
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_channels.py:176
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_channels.py:455
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_bundles.py:100
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_bundles.py:248
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:98
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:363
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:119
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:426
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_rate_limits.py:56
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_rate_limits.py:196
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/beta/memory_stores/test_memories.py:189
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/memory_stores/test_memories.py:508
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_rbac_groups.py:118
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_rbac_groups.py:310
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_workspaces.py:147
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_workspaces.py:373
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_external_keys.py:148
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_external_keys.py:407
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_api_keys.py:85
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_api_keys.py:213
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_compliance_settings.py:64
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_compliance_settings.py:126
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_users.py:78
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_users.py:238
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/test_service_accounts.py:127
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_service_accounts.py:330
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/federation/test_issuers.py:144
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/test_issuers.py:364
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/federation/test_rules.py:183
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/test_rules.py:443
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:93
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:342
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:93
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:341
Method
test_streaming_response_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_rate_limits.py:52
Method
test_streaming_response_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_rate_limits.py:185
Method
test_streaming_response_upload
(self, client: Anthropic)
tests/api_resources/test_files.py:245
Method
test_streaming_response_upload
(self, async_client: AsyncAnthropic)
tests/api_resources/test_files.py:481
Method
test_streaming_response_upload
(self, client: Anthropic)
tests/api_resources/beta/test_files.py:273
Method
test_streaming_response_upload
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_files.py:538
Method
test_streaming_response_validate
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_keys.py:282
Method
test_streaming_response_validate
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_keys.py:567
Method
test_streaming_response_validate
(self, client: Anthropic)
tests/api_resources/organization/test_external_keys.py:257
Method
test_streaming_response_validate
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_external_keys.py:516
Method
test_streaming_response_validate_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:202
Method
test_streaming_response_validate_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:445
Method
test_streaming_response_validate_repository
(self, client: Anthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:246
Method
test_streaming_response_validate_repository
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:489
Method
test_streaming_runner
(self, spans: Spans, respx_mock: MockRouter)
tests/lib/tools/test_open_telemetry.py:1473
Method
test_streaming_runner_does_not_add_the_structured_outputs_beta
(self, respx_mock: MockRouter)
tests/lib/threads/test_tool_runner_threading.py:156
Method
test_streaming_runner_keeps_messages_appended_after_a_mid_loop_rewrite
(self, respx_mock: MockRouter)
tests/lib/threads/test_thread_tool_runner.py:550
Method
test_streaming_runner_set_messages_params_adds_ahead_of_the_in_flight_reply
( self, respx_mock: MockRouter )
tests/lib/threads/test_thread_tool_runner.py:141
Method
test_streaming_runner_set_messages_params_replaces_the_history_mid_loop
( self, respx_mock: MockRouter )
tests/lib/threads/test_async_beta_threads.py:1241
Method
test_streaming_runner_whose_stream_fails_leaves_the_thread_free
(self, respx_mock: MockRouter)
tests/lib/threads/test_thread_tool_runner.py:470
Method
test_streaming_runner_whose_stream_fails_leaves_the_thread_free
(self, respx_mock: MockRouter)
tests/lib/threads/test_async_beta_threads.py:1280
Function
test_streams_without_a_stream_class
(client_class: ClientClass)
tests/lib/test_client_copy.py:458
Function
test_strict_validation_unknown_fields
()
tests/test_models.py:175
Function
test_string_not_allowed
()
tests/test_files.py:101
Function
test_string_schema_with_format_and_default
()
tests/lib/_parse/test_transform.py:205
Function
test_string_schema_without_format
()
tests/lib/_parse/test_transform.py:226
Function
test_strip_top
()
tests/lib/tools/test_skills.py:155
Method
test_strips_connection_header
Connection header must not be signed (may be stripped by proxies).
tests/lib/test_aws_auth.py:505
Function
test_strips_inherited_authorization_from_parent_default_headers
If the parent client was configured with a custom `default_headers={"Authorization": ...}` (or `X-Api-Key`), those would otherwise win over th
tests/lib/test_scoped_client.py:88
Function
test_strips_omit_and_not_given
(send: Send)
tests/test_prepare.py:215
Function
test_symlink_escape_after_dangling_symlink_is_rejected
( tmp_path: Path, make_tool: Any, tool_input: dict[str, str] )
tests/lib/tools/test_agent_toolset.py:1039
Method
test_symlink_validation_reject_creating_files_through_symlink_pointing_outside
( self, sync_local_filesystem_tool: BetaLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:672
Method
test_symlink_validation_reject_creating_files_through_symlink_pointing_outside
( self, async_local_filesystem_tool: BetaAsyncLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:1346
Method
test_symlink_validation_reject_parent_directory_that_is_symlink_pointing_outside
( self, sync_local_filesystem_tool: BetaLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:688
Method
test_symlink_validation_reject_parent_directory_that_is_symlink_pointing_outside
( self, async_local_filesystem_tool: BetaAsyncLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:1363
Method
test_symlink_validation_reject_symlink_pointing_outside_memories
( self, sync_local_filesystem_tool: BetaLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:630
Method
test_symlink_validation_reject_symlink_pointing_outside_memories
( self, async_local_filesystem_tool: BetaAsyncLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:1303
Method
test_sync_callable_object_handles_requests
(self, respx_mock: MockRouter)
tests/test_middleware.py:559
Method
test_sync_callable_returning_a_coroutine_is_rejected
The coroutine is closed, so nothing warns that it was never awaited.
tests/lib/test_credentials.py:1622
Method
test_sync_callable_returning_a_coroutine_is_rejected
`lambda: fetch()` is a sync provider that hands back a coroutine. It fails before any request is sent.
tests/lib/test_credentials.py:3946
Method
test_sync_client_accepts_a_provider_that_only_has_aclose
As on the sync client before async providers existed: `aclose()` is not its hook, so it is left alone.
tests/lib/test_credentials.py:4329
Method
test_sync_client_accepts_sync_callable_object
(self)
tests/test_middleware.py:553
Method
test_sync_client_calls_close_and_ignores_aclose
(self, in_a_partial: bool)
tests/lib/test_credentials.py:4315
Method
test_sync_client_rejects_an_async_close
(self, in_a_partial: bool)
tests/lib/test_credentials.py:4305
Method
test_sync_client_rejects_async_callable_object
(self)
tests/test_middleware.py:524
Method
test_sync_client_rejects_async_handle_override
(self)
tests/test_middleware.py:582
Method
test_sync_client_rejects_non_callable
(self)
tests/test_middleware.py:574
Method
test_sync_context_manager_tool
(self)
tests/lib/tools/test_functions.py:459
Function
test_sync_intervals_below_the_floor_are_rejected
(tmp_path: Path)
tests/lib/tools/memory_sync/test_memory_sync.py:718
Function
test_sync_matrix
( tmp_path: Path, clock: Clock, name: str, local: Any, remote: Any, disk: Any, sto
tests/lib/tools/memory_sync/test_memory_sync.py:486
Method
test_sync_provider_runs_off_the_event_loop_thread
(self, respx_mock: MockRouter)
tests/lib/test_credentials.py:3935
Method
test_sync_providers_are_not_detected_as_async
(self, shape: Callable[..., Any])
tests/lib/test_credentials.py:3920
Function
test_sync_token_provider_on_async_client_runs_off_event_loop
( respx_mock: MockRouter, monkeypatch: pytest.MonkeyPatch )
tests/lib/test_google_cloud.py:452
Function
test_sync_tool_runner_rejects_an_async_toolset
(client: Anthropic)
tests/lib/tools/toolsets/test_runner.py:746
← previous
next →
11,301–11,400 of 12,824, ranked by callers