Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
12,522 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
12,522
◇
Types & classes
4,093
↳
Endpoints
47
Method
test_message_delta_omitted_usage_keeps_message_start
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:461
Method
test_message_delta_omitted_usage_keeps_message_start
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:737
Function
test_message_role_and_content
(message_cls: type[Union[Message, BetaMessage]])
tests/types/test_to_param.py:57
Function
test_message_serializes_as_request_param
(message_cls: type[Union[Message, BetaMessage]])
tests/types/test_to_param.py:76
Method
test_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:475
Method
test_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:754
Method
test_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:588
Method
test_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:907
Method
test_message_with_cache_control
(self)
tests/lib/tools/test_mcp_tool.py:192
Method
test_messages_appended_before_a_call_that_fails_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:732
Method
test_messages_appended_before_a_call_that_fails_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_async_beta_threads.py:438
Method
test_messages_appended_before_a_refused_turn_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:860
Method
test_messages_appended_during_a_turn_are_staged_once_it_finishes
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1649
Method
test_messages_available
(self)
tests/lib/test_bedrock_mantle.py:192
Function
test_messages_cannot_be_replaced_while_compacting_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:3139
Function
test_messages_create_response_paths_are_all_final_from_message_start_or_from_message_delta
()
tests/test_open_telemetry.py:8361
Function
test_messages_passed_as_a_one_shot_iterable_reach_every_request
( respx_mock: MockRouter, client: Anthropic, async_client: AsyncAnthropic, flavour: str, thread: bool | No
tests/lib/tools/toolsets/test_browser_runner.py:554
Method
test_messages_request_has_bearer_and_beta
(self, respx_mock: MockRouter)
tests/lib/test_credentials.py:2463
Function
test_messages_retries
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:121
Method
test_messages_retries
(self, respx_mock: MockRouter)
tests/lib/test_vertex.py:160
Method
test_messages_retries
(self, respx_mock: MockRouter)
tests/lib/test_vertex.py:678
Function
test_messages_retries_async
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:156
Function
test_messages_routes_are_all_handled
( platform: str, sync: bool, http_method: str, path: str, query: str )
tests/lib/test_platform_resources.py:136
Method
test_method_ack
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:206
Method
test_method_ack
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:685
Method
test_method_ack_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:215
Method
test_method_ack_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:694
Method
test_method_activate
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_storage.py:285
Method
test_method_activate
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_storage.py:603
Method
test_method_activate_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_storage.py:293
Method
test_method_activate_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_storage.py:611
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:271
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:584
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:75
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:249
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:182
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:447
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:203
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:510
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:74
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:227
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:75
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:255
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:75
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:254
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:70
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:213
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:172
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:421
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:171
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:419
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/organization/rbac_groups/test_members.py:70
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/rbac_groups/test_members.py:213
Method
test_method_add
(self, client: Anthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:70
Method
test_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:217
Method
test_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:281
Method
test_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:594
Method
test_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:84
Method
test_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:258
Method
test_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:213
Method
test_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:520
Method
test_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:84
Method
test_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:264
Method
test_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:85
Method
test_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:264
Method
test_method_and_route_are_on_the_span_from_its_start
(self, sync: bool, respx_mock: MockRouter)
tests/test_open_telemetry.py:3071
Method
test_method_approve
(self, client: Anthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:108
Method
test_method_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:309
Method
test_method_approve
(self, client: Anthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:98
Method
test_method_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:281
Method
test_method_approve_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:117
Method
test_method_approve_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:318
Method
test_method_approve_with_all_params
(self, client: Anthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:106
Method
test_method_approve_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:289
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_sessions.py:342
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_sessions.py:717
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_dreams.py:188
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_dreams.py:463
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_vaults.py:266
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_vaults.py:566
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_tunnels.py:158
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_tunnels.py:453
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_agents.py:327
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_agents.py:688
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_deployments.py:340
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_deployments.py:866
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_environments.py:306
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_environments.py:646
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/test_memory_stores.py:271
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_memory_stores.py:575
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_threads.py:136
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_threads.py:320
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/vaults/test_credentials.py:358
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/vaults/test_credentials.py:821
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_workspaces.py:244
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_workspaces.py:522
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_service_accounts.py:211
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_service_accounts.py:456
Method
test_method_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:228
Method
test_method_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:490
← previous
next →
6,701–6,800 of 12,522, ranked by callers